From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 7 13:49:35 2006 Return-Path: X-Original-To: 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 A20E416A41F for ; Sat, 7 Jan 2006 13:49:35 +0000 (GMT) (envelope-from erdgeist@erdgeist.org) Received: from elektropost.org (elektropost.org [80.237.196.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C62D43D45 for ; Sat, 7 Jan 2006 13:49:34 +0000 (GMT) (envelope-from erdgeist@erdgeist.org) Received: (qmail 85147 invoked by uid 0); 7 Jan 2006 13:48:40 -0000 Received: from erdgeist.org (erdgeist@erdgeist.org@80.237.196.15) by elektropost.org with AES256-SHA encrypted SMTP; 7 Jan 2006 13:48:40 -0000 Date: Sat, 7 Jan 2006 14:48:39 +0100 (CET) From: Dirk Engling To: Ceri Davies In-Reply-To: <20060107133847.GJ86645@submonkey.net> Message-ID: <20060107144020.M73297@erdgeist.org> References: <20060106205744.O13365@erdgeist.org> <00a201c61303$88d025d0$1200a8c0@gsicomp.on.ca> <20060106215502.H13365@erdgeist.org> <99814990-316A-4099-A96D-083F90E5689E@submonkey.net> <20060107002724.S13365@erdgeist.org> <755A8F87-DE0E-488A-9FE3-35BC73E9659F@submonkey.net> <20060107010543.F13365@erdgeist.org> <20060107133847.GJ86645@submonkey.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: hackers@freebsd.org 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: Sat, 07 Jan 2006 13:49:35 -0000 On Sat, 7 Jan 2006, Ceri Davies wrote: > Two stage process. In chroot(), pkg_add -r portupgrade, then pkg_fetch > -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. erdgeist