Using pkg_add fetch only
erdgeist at erdgeist.org
Sat Jan 7 05:49:35 PST 2006
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.
More information about the freebsd-hackers