Default initrd is LZMA compressed, yet rebuilt initramfs are gzip?
Bug #1671536 reported by
Dimitri John Ledkov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Fix Released
|
Low
|
Unassigned | ||
initramfs-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
$ file ~/Downloads/
/home/xnox/
Yet, in the base image I don't see that initramfs config options set COMPRESS=lzma. Thus first boot is lzma, yet on package upgrades i guess initrd would be regenerated as gzip...
Isn't the fact that all of our images use lzma and/or xz compression means we should switch Ubuntu default to lzma and/or xz as well?
Changed in cloud-images: | |
importance: | Undecided → Low |
To post a comment you must log in.
This is strange. I just booted an older image and then installed a
kernel:
$ file /boot/initrd. img-4.4. 0-62-generic img-4.4. 0-62-generic: LZMA compressed data, streamed img-4.4. 0-6* img-4.4. 0-62-generic: gzip compressed data, last modified: Thu Mar 9 15:48:51 2017, from Unix img-4.4. 0-66-generic: gzip compressed data, last modified: Thu Mar 9 15:49:52 2017, from Unix
/boot/initrd.
$ sudo apt update
...
$ sudo apt upgrade
...
$ file /boot/initrd.
/boot/initrd.
/boot/initrd.
I'm guessing that it comes from "--initramfs- compression lzma" on line auto/config in livecd-rootfs; I'd expect this to
613 of live-build/
translate in to some configuration in the built image, but I guess not.