Date: Wed, 10 Jul 2002 23:55:05 -0700 From: Wes Peters <wes@softweyr.com> To: Mark Valentine <mark@thuvia.demon.co.uk> Cc: Doug Barton <DougB@freebsd.org>, Garrett Wollman <wollman@lcs.mit.edu>, arch@freebsd.org Subject: Re: Package system flaws? Message-ID: <3D2D2BC9.7C3D1F82@softweyr.com> References: <200207092255.g69Mt3n8011431@dotar.thuvia.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Valentine wrote: > > > From: Wes Peters <wes@softweyr.com> > > Date: Mon 8 Jul, 2002 > > Subject: Re: Package system flaws? > > > Mark Valentine wrote: > > > Example 1: simple package, not sub-packaged. > > > > > > $ ls /var/spool/pkg/foo-x.y > > > base.bz2 package.xml > > > > Ick. Why not have the XML include the base.bz2 file in whatever encoding > > (including direct binary) we deem appropriate? > > That requires special tools to extract base.bz2 conveniently. Uh, yeah, that tool is "pkg_add". > > If you want truly > > minimal package sizes, specify the blob(s) as external URLs rather than > > encoding them. > > That's effectively identical to the behaviour implicit in my proposal. > > > Come to think if it, it would be a simple transformation to "convert" a > > package from external references to a full binary, with something like > > a pkg_fetch command. It would read a package with external URLs for > > the filesets, fetch them, and re-write the package with the blobs > > encased. > > tar(1) is a simpler conversion. ;-) Tar sucks for trying to extract the metadata only. Give it up dude, tar just ain't where it's at for this. tar is fine for balling up groups of files, let's leave it at that. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D2D2BC9.7C3D1F82>