** Description changed:

  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
+ and https://lists.ubuntu.com/archives/ubuntu-devel/2023-July/042707.html

** Changed in: initramfs-tools (Ubuntu)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Fix Committed

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 and
  https://lists.ubuntu.com/archives/ubuntu-devel/2023-July/042707.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2028567/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to