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_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.
Here is something that should work [1]. I think you could do what you want with pkg_add -frnK <package>. Note that the first package will be named package.t[bg]z but the others will contain the version number. Please tell me if this works as expected. [1] http://people.freebsd.org/~flz/local/pkginstall-keep-pkg.diff -- Florent Thoumie [EMAIL PROTECTED] FreeBSD Committer
pgpZ9tYrhZKss.pgp
Description: PGP signature