FS#38229 - [mkinicpio] lz4 support has a simple fix

Attached to Project: Arch Linux
Opened by Vorbote (vorbote) - Sunday, 22 December 2013, 15:15 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 22 December 2013, 19:37 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Task  FS#38205  was closed as an upstream problem. Yet in the original forum thread that prompted the creation of such task one of the posters discovered[1] that lz4 *does* support the legacy format with the undocumented "-l" flag and its working has been confirmed by other participants later on the thread. This flag could be added to mkinitcpio's scripts by default until the time the kernel devs move forward lz4 support to the new format.

[1] https://bbs.archlinux.org/viewtopic.php?pid=1362886#p1362886
This task depends upon

Closed by  Dave Reisner (falconindy)
Sunday, 22 December 2013, 19:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  mkinitcpio 16-2
Comment by Kit (kit) - Sunday, 22 December 2013, 16:18 GMT
The following comment in mkinitcpio.conf between COMPRESSION and COMPRESSION_OPTIONS might be sufficient:

## Note: lz4 compression requires the compression option "-l" below until
# the lz4 code in the kernel recognises the current (non-legacy) streaming
# format. // https://bbs.archlinux.org/viewtopic.php?pid=1362886#p1362886
Comment by Vorbote (vorbote) - Sunday, 22 December 2013, 19:21 GMT
@Kit you cannot expect in earnest that all people can find an application's undocumented flag. *Sigh*. OK, I have edited the wiki to add this new piece of information, that should help a small fraction of the user population.
Comment by Dave Reisner (falconindy) - Sunday, 22 December 2013, 19:31 GMT
Uh, what? No, mkinitcpio will pass this flag when needed, without the need for user intervention. We already do this for XZ compressed images.

Loading...