Carl Worth writes:
> Obviously streaming installation would be useful. Maybe the package
> repository could store and transfer the package-control archive and
> package-data archive separately? I'm open to ideas here.
What about parsing the tarfile by hand, and insisting that a .ipk have
the package-control archive occur first? Or does the tar file format
have its own EOF indicator? In which case, you could do something
like this:
wget -o - http://example.com/file.ipk | tar xfOz | (tar xfz - ; tar xfz -)
The only problem with this is that gunzip says this:
gzip: stdin: decompression OK, trailing garbage ignored
and gunzip doesn't have an option to stop reading when it hits its own
EOF. Thanks, gunzip!
So, okay, maybe the internal tar files shouldn't be gzipped if we're
streaming them like this.
tar xfOz foo.ipk | ( tar tf - ; echo "next";tar tf -)
Unfortunately, this doesn't work either. All I get is the control
file, then "next".
-- -russ nelson <sig@russnelson.com> http://russnelson.com Crynwr sells support for free software | PGPok | The most basic moral/ethical 521 Pleasant Valley Rd. | +1 315 268 1925 voice | question is who gets to use Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | force, and when -- ESRReceived on Thu Aug 30 2001 - 06:11:43 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:34 EDT