Re: installing packages into a mounted system

2014-08-14 Thread Matthias Apitz
Hello, To close this thread: after reading and understandig how it should work, I have found the following easy solution: # chroot /mnt pkg-static repo /PKGDIR Creating repository in /PKGDIR: 83% ... Packing files for repository: 100% # chroot /mnt mkdir -p /usr/local/etc/pkg/repos # vim /mnt/u

Re: installing packages into a mounted system

2014-08-14 Thread Michael Gmelin
On Thu, 14 Aug 2014 15:31:11 +0200 Matthias Apitz wrote: > El día Thursday, August 14, 2014 a las 09:22:38AM -0400, Nikolai > Lifanov escribió: > > > > # PACKAGESITE=file://PKGDIR export PACKAGESITE > > > # chroot /mnt /usr/local/sbin/pkg-static install xorg-7.7 > > > Updating repository catalog

Re: installing packages into a mounted system

2014-08-14 Thread Matthias Apitz
El día Thursday, August 14, 2014 a las 09:22:38AM -0400, Nikolai Lifanov escribió: > > # PACKAGESITE=file://PKGDIR export PACKAGESITE > > # chroot /mnt /usr/local/sbin/pkg-static install xorg-7.7 > > Updating repository catalogue > > pkg-static: file://PKGDIR/digests.txz: No such file or director