From owner-freebsd-questions@FreeBSD.ORG Tue Oct 8 13:04:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D13CC80A; Tue, 8 Oct 2013 13:04:17 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [178.254.11.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 95B5321DE; Tue, 8 Oct 2013 13:04:17 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.76) (envelope-from ) id 1VTX0z-0006tf-Gy; Tue, 08 Oct 2013 15:07:53 +0200 Date: Tue, 8 Oct 2013 15:07:53 +0200 From: Matthias Apitz To: Mark Felder Subject: Re: install packages with pkg_add(1) into another file system Message-ID: <20131008130753.GA26177@sh4-5.1blu.de> References: <20131008111618.GA9957@sh4-5.1blu.de> <1381237086.8491.31423161.63C77F6D@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1381237086.8491.31423161.63C77F6D@webmail.messagingengine.com> X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 13:04:17 -0000 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