install packages with pkg_add(1) into another file system

Mark Felder feld at
Tue Oct 8 12:58:08 UTC 2013

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?

More information about the freebsd-questions mailing list