Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jan 2006 19:37:19 +0100
From:      Florent Thoumie <flz@xbsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Dirk Engling <erdgeist@erdgeist.org>, Ceri Davies <ceri@submonkey.net>
Subject:   Re: Using pkg_add fetch only
Message-ID:  <200601081937.25081.flz@xbsd.org>
In-Reply-To: <200601081347.27506.flz@xbsd.org>
References:  <20060106205744.O13365@erdgeist.org> <20060107144020.M73297@erdgeist.org> <200601081347.27506.flz@xbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <package>.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601081937.25081.flz>