Problem with initramfs-tools support for early firmware loading
- To: debian-live@lists.debian.org
- Subject: Problem with initramfs-tools support for early firmware loading
- From: Igor Cher <igorflint@gmail.com>
- Date: Fri, 5 Jul 2013 13:47:08 +0400
- Message-id: <CA+vbxhR6vDN2WXO=dsPuPyUUMS_uAkOm2wQoXvWpqHhP-duouQ@mail.gmail.com>
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.
Reply to: