Re: install packages with pkg_add(1) into another file system

2013-10-09 Thread Matthias Apitz
El día Tuesday, October 08, 2013 a las 03:31:16PM +0200, Matthias Apitz escribió: Meanwhile I did: # cp -Rp ~guru/PKGDIR/mnt # PKG_PATH=/PKGDIR # export PKG_PATH # chroot /mnt pkg_add xorg-7.7 # chroot /mnt pkg_add kde-4.10.5 # chroot /mnt pkg_add vim-7.3.1314 ... # chroot

Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Mark Felder
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

Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz
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

Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 8:07, Matthias Apitz wrote: 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

Re: install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz
El día Tuesday, October 08, 2013 a las 08:12:31AM -0500, Mark Felder escribió: No. The r255948 was built on a clean, empty environment but with $ cat /etc/src.conf WITH_PKGTOOLS=yes Ok, I won't question your needs for pkg_* as you seem to be aware of what you're doing :-) When