Please make compression options customizable

Bug #1559435 reported by Jernej Jakob
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Currently, using LZ4 as compression type produces an unbootable system, as lz4 is called without the legacy format option -l, which is required to produce a kernel readable image.
Also, using lzop there is a very long delay (over one minute) when updating initramfs, as by default the maximum compression setting -9 is passed with no way for the user to change it.

Making the compression options customizable (as e.g. mkinitcpio does) would be very useful for advanced users who wish to fine tune their systems for e.g. faster boot times, smaller image sizes, etc.
The default options should also be described in mkinitramfs.conf or the man page so users have a starting point for customization without having to go through the source code.

For example: https://wiki.archlinux.org/index.php/mkinitcpio#COMPRESSION_OPTIONS

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

lz4 is now called with the legacy option on.

Changed in initramfs-tools (Ubuntu):
status: New → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.