Live build option --initramfs-compression = lzma no longer work. The
problem is in the
recently added early firmware loading mechanism. In my case it is for
intel-microcode.
Early firmware loading was added since kernel 3.9 and initramfs-tools
0.113.
If I understood correctly, the main idea is to put uncompressed firmware
data
before compressed initramfs image. So we can't work with such file as with
usual archive. The result is that /usr/lib/live/build/chroot_hacks script
code:
for INITRAMFS in $(find chroot/boot -name 'initrd*'); do
zcat "${INITRAMFS}" | lzma -c ${LZMA_OPTIONS} >
"${INITRAMFS}.new"
mv "${INITRAMFS}.new" "${INITRAMFS}"
done
produces broken initrd image.
I use live build packages from Wheezy distribution, but kernel and it's
dependencies from Sid.