From owner-freebsd-questions@FreeBSD.ORG Tue Oct 8 12:58:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DEE4E4FA for ; Tue, 8 Oct 2013 12:58:08 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B2952215A for ; Tue, 8 Oct 2013 12:58:08 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 3C08621451 for ; Tue, 8 Oct 2013 08:58:06 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute2.internal (MEProxy); Tue, 08 Oct 2013 08:58:06 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=m5bmlsS1L6n8OF7q38ZLrEs7opg=; b=F/B SIZZ6OhRICWERfY23GJHAZPrSKvoU7Z6eIgcJ7hBThYFsG87BoR2WolZYdY4mJsq QPStHXCUVn2Deq60/Yz5GAi6K8IYMlkmcU3f049qYhP66odGVrVeNxJYe24/ZVtM bjaw7xiy01x5NT3JnmyKUT0DEVI6E7HJgGx01XhU= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id 1FAA2116A78; Tue, 8 Oct 2013 08:58:06 -0400 (EDT) Message-Id: <1381237086.8491.31423161.63C77F6D@webmail.messagingengine.com> X-Sasl-Enc: pT1RzB3RTuVW/FFsn6DU3FpED0S6Nu+3psp0nQkidF08 1381237086 From: Mark Felder To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-ce174988 In-Reply-To: <20131008111618.GA9957@sh4-5.1blu.de> References: <20131008111618.GA9957@sh4-5.1blu.de> Subject: Re: install packages with pkg_add(1) into another file system Date: Tue, 08 Oct 2013 07:58:06 -0500 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 12:58:08 -0000 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?