install packages with pkg_add(1) into another file system
guru at unixarea.de
Tue Oct 8 13:04:17 UTC 2013
El día Tuesday, October 08, 2013 a las 07:58:06AM -0500, Mark Felder escribió:
> On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote:
> > So far so good. Now I want install the packages as well into the image
> > in /mnt. What would be the best method for this? Run pkg_add with the
> > flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?
> > Thanks in advance
> > All this is with 10-CURRENT (base and ports).
> pkg_add and all of the old "pkgtools" do not exist in 10-CURRENT
> anymore. Are you running a build of 10-CURRENT before they were removed?
No. The r255948 was built on a clean, empty environment but with
$ cat /etc/src.conf
Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: guru at unixarea.de | \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ | X - No proprietary attachments
phone: +49-170-4527211 | / \ - Respect for open standards
More information about the freebsd-questions