Bug#637979: live-build: Assumes gzipped initrd although the default is lzma

2011-09-07 Thread Daniel Baumann
On 08/16/2011 11:05 AM, Ben Armstrong wrote: In the particular case of zcat, wouldn't it be better to have ZCAT, or some such, set variously to zcat, bzcat or lzcat, depending on LB_INITRAMFS_COMPRESSION and use that here instead of a case? yes, but for now, i've added the ugly case thing. we

Bug#637979: live-build: Assumes gzipped initrd although the default is lzma

2011-08-16 Thread Martin Pitt
Package: live-build Version: 3.0~a29-1 Hello, building a live CD with the experimental version currently fails with $ sudo /usr/share/live/build/scripts/build/lb_binary_disk P: Begin installing disk information... gzip: ../binary/casper/initrd.img-3.0.0-8-generic: not in gzip format cpio:

Bug#637979: live-build: Assumes gzipped initrd although the default is lzma

2011-08-16 Thread Ben Armstrong
On 16/08/11 05:16 AM, Martin Pitt wrote: Unfortunately file does not (yet?) recognize an lzma stream, so perhaps this should do a case statement based on $LB_INITRAMFS_COMPRESSION, and use zcat vs. lzcat? Similar to lb_chroot_hacks, I guess. Though the duplication gets tedious after a while (I