From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 8 18:37:39 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E93C216A41F for ; Sun, 8 Jan 2006 18:37:39 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 572B843D46 for ; Sun, 8 Jan 2006 18:37:39 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id CE24A11A1F; Sun, 8 Jan 2006 19:37:37 +0100 (CET) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 82605-09; Sun, 8 Jan 2006 19:37:29 +0100 (CET) Received: from cream.xbsd.org (cream.xbsd.org [192.168.42.6]) by smtp.xbsd.org (Postfix) with ESMTP id 7E78311A18; Sun, 8 Jan 2006 19:37:29 +0100 (CET) From: Florent Thoumie To: freebsd-hackers@freebsd.org Date: Sun, 8 Jan 2006 19:37:19 +0100 User-Agent: KMail/1.8.2 References: <20060106205744.O13365@erdgeist.org> <20060107144020.M73297@erdgeist.org> <200601081347.27506.flz@xbsd.org> In-Reply-To: <200601081347.27506.flz@xbsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1295540.9EaB7FGaRJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200601081937.25081.flz@xbsd.org> X-Virus-Scanned: amavisd-new at xbsd.org Cc: Dirk Engling , Ceri Davies Subject: Re: Using pkg_add fetch only X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2006 18:37:40 -0000 --nextPart1295540.9EaB7FGaRJ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 08 January 2006 13:47, Florent Thoumie wrote: > On Saturday 07 January 2006 14:48, Dirk Engling wrote: > > On Sat, 7 Jan 2006, Ceri Davies wrote: > > > Two stage process. In chroot(), pkg_add -r portupgrade, then pkg_fet= ch > > > -R the stuff you want. Once you're done you can just blow away the > > > chroot environment and all the installed stuff. > > > > So I win nothing besides having to set up a complicated three-stage > > chain. chroot() by itself will not be enough as long as the portupgrade > > tools are not compiled static. > > > > > Sure, it'll install a bunch of other crap like ruby, but it's a lot > > > easier than hacking up your own tool. > > > > > >From the ezjail Homepage: > > > > "Since ezjail is written entirely in sh, there is no need to install > > other script languages into the Host-system" > > > > So: No way. But your help has pointed me into the right direction. > > I'll try to submit a patch for a fetch-only option to krion later if > people think it's useful. Here is something that should work [1]. I think you could do what you want with pkg_add -frnK . Note that the first package will be named package.t[bg]z but the others wi= ll=20 contain the version number. Please tell me if this works as expected. [1] http://people.freebsd.org/~flz/local/pkginstall-keep-pkg.diff =2D-=20 =46lorent Thoumie flz@FreeBSD.org =46reeBSD Committer --nextPart1295540.9EaB7FGaRJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDwVvlMxEkbVFH3PQRAjfRAKCNauSX5OqfiRnaKXi5/7GKW4SXSACdGbxj 6Z3IX0wcgmN+2KhSbGDff+o= =ZrzK -----END PGP SIGNATURE----- --nextPart1295540.9EaB7FGaRJ--