[Bug 2028567] Re: Do not re-compress compressed kernel modules and firmware files
Benjamin Drung
2028567 at bugs.launchpad.net
Tue Jul 25 18:04:41 UTC 2023
** Changed in: initramfs-tools (Ubuntu)
Status: New => In Progress
** Changed in: initramfs-tools (Ubuntu)
Importance: Undecided => Wishlist
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2028567
Title:
Do not re-compress compressed kernel modules and firmware files
Status in initramfs-tools package in Ubuntu:
In Progress
Bug description:
initramfs-tools decompresses kernel modules and firmware files before
putting them into the initramfs. This has several drawbacks:
* The compressed kernel modules and firmware files are probably compressed with a higher level. So recompressing them in the initramfs (default: zstd -1) will increase the size.
* Decompressing and compressing these files during mkinitramfs will take time
* The size of the decompressed initramfs will be bigger. That size is needed in memory during boot.
So put compressed kernel modules and firmware files in an uncompressed
cpio instead. To make this change have an impact the files need to be
shipped compressed:
* kernel modules: bug #2028568
* firmware files: bug #1942260
See https://lists.ubuntu.com/archives/ubuntu-
devel/2023-July/042652.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2028567/+subscriptions
More information about the foundations-bugs
mailing list