Using pkg_add fetch only

Florent Thoumie flz at xbsd.org
Sun Jan 8 04:47:42 PST 2006


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_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.

	I'll try to submit a patch for a fetch-only option to krion later if people 
	think it's useful.

-- 
Florent Thoumie
flz at FreeBSD.org
FreeBSD Committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060108/d0c34a02/attachment.bin


More information about the freebsd-hackers mailing list