Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 15:07:53 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Mark Felder <feld@FreeBSD.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: install packages with pkg_add(1) into another file system
Message-ID:  <20131008130753.GA26177@sh4-5.1blu.de>
In-Reply-To: <1381237086.8491.31423161.63C77F6D@webmail.messagingengine.com>
References:  <20131008111618.GA9957@sh4-5.1blu.de> <1381237086.8491.31423161.63C77F6D@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 
WITH_PKGTOOLS=yes

	matthias
-- 
Matthias Apitz               |  /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: guru@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131008130753.GA26177>