Guillem Jover <guillem@debian.org> (2014-02-18): > Here's a patch series adding data.tar, control.tar and control.tar.xz > support, the uncompressed member support just out of completeness. To > create a deb package with a different control.tar compression you can > use «dpkg-deb --uniform-compression pkg/» for example. 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 I haven't performed a full installation, just checked that with unpatched udpkg I'm getting tar magic/read failures, and success with a new udpkg, at least until the partitioning step. > Note I've only tested «udpkg -c» and «udpkg -f», the changes in unpacking > are pretty obvious, but testing them would be nice. I've also used cat > for the uncompressed members as I didn't think further optimization there > was worth it(?). cat is probably OK. I'm not sure there's any need or interest in having uncompressed udebs anyway… Mraw, KiBi.
Attachment:
signature.asc
Description: Digital signature