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 > ... > > #

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

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 w

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 --

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 >

install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz
Hello, I have prepared a boot-able USB-key (to be exactly a disk image of it) the usual way: # dd if=/dev/zero of=da0 bs=8m count=1868 # mdconfig -a -t vnode -f da0 md0 # fdisk -I md0 # fdisk -B md0 # bsdlabel -w md0s1 auto # bsdlabel -B md0s1 # bsdlabel -e md0s1 # edit the disk label and cha