[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#739411: udpkg: Support for data.tar, control.tar and control.tar.xz



Cyril Brulebois <kibi@debian.org> (2014-02-18):
> So I've played a little using deb-reversion to generate local versions
> (see #739437), and using that loop (once with xz, once with none):
> 
>   for i in *.udeb; do dpkg -x $i foo && dpkg --control $i foo/DEBIAN && fakeroot dpkg-deb -b -Znone --uniform-compression foo && dpkg-name -o foo.deb && rm -r foo; done
>   # .deb → .udeb renaming
>   # reprepro includeudeb ...
>   # boot with debian-installer/allow_unauthenticated=true

Iterating over the Filename's in jessie/main/debian-installer/binary-amd64/Packages.gz and
recompressing every udeb with "-Zxz --uniform-compression", I'm only getting an overall 5%
gain in udeb size. For the curious I'm attaching a little PDF file with per-udeb delta.

Before: 47163752
After:  44718700

So it looks to me there's no need to rush for xz-only udebs. Especially since stable's d-i
might be used to install testing, and also because we're going to add a little bit of
entropy with wheezy-backports images (even though it should be trivial to pull udpkg from
backports so that it can deal with any xz+xz udeb it comes across).

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: