Hi all, I have a question. I have one PC, it should not connect to Internet. I want to install there FreeBSD 8.2. We call it <B> computer. My second PC (we call it <A> computer) has Internet connect. I installed FreeBSD on <A> and <B> computers. On <A> computer, I have installed the necessary software to me, used port collections. After I create folder:
And create local repository.
See the full name of the package.
After I copy ~/packages to <B> computer and install software.
But, I have 50 software. And I should 50 use: pkg_info and pkg_create. pkg_create runs from 3 seconds to 15 minutes. All this time I have to sit at the <A> computer.
How to automate the process of creating a local repository? Perhaps there is another way?
Code:
# mkdir -p ~/packages
And create local repository.
Code:
# cd ~/packages/
# pkg_info -Ix <pkg_name>
Code:
# pkg_create -R -b <pkg_full_name>
After I copy ~/packages to <B> computer and install software.
But, I have 50 software. And I should 50 use: pkg_info and pkg_create. pkg_create runs from 3 seconds to 15 minutes. All this time I have to sit at the <A> computer.
How to automate the process of creating a local repository? Perhaps there is another way?