+ scripts-gen_initramfs_listsh-fix-flags-for-initramfs-lz4-compression.patch added to -mm tree
Subject: + scripts-gen_initramfs_listsh-fix-flags-for-initramfs-lz4-compression.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 18 Feb 2014 16:20:45 -0800
The patch titled
Subject: scripts/gen_initramfs_list.sh: fix flags for initramfs LZ4 compression
has been added to the -mm tree. Its filename is
scripts-gen_initramfs_listsh-fix-flags-for-initramfs-lz4-compression.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/scripts-gen_initramfs_listsh-fix-flags-for-initramfs-lz4-compression.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/scripts-gen_initramfs_listsh-fix-flags-for-initramfs-lz4-compression.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: "Daniel M. Weeks" <[email protected]>
Subject: scripts/gen_initramfs_list.sh: fix flags for initramfs LZ4 compression
LZ4 as implemented in the kernel differs from the default method now used by the reference implementation of LZ4. Until the in-kernel method is updated to support the new default, passing the legacy flag (-l) to the compressor is necessary. Without this flag the kernel-generated, LZ4-compressed initramfs is junk.
---
scripts/gen_initramfs_list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/gen_initramfs_list.sh renamed from scripts/gen_initramfs_list.sh~scripts-gen_initramfs_listsh-fix-flags-for-initramfs-lz4-compression +1 -1
@@ -257,7 +257,7 @@ case "$arg" in && compr="lzop -9 -f" echo "$output_file" | grep -q "\.lz4$" \ && [ -x "`which lz4 2> /dev/null`" ] \ - && compr="lz4 -9 -f" + && compr="lz4 -l -9 -f" echo "$output_file" | grep -q "\.cpio$" && compr="cat" shift ;;
_
Patches currently in -mm which might be from [email protected] are
scripts-gen_initramfs_listsh-fix-flags-for-initramfs-lz4-compression.patch initramfs-debug-detected-compression-method.patch initramfs-debug-detected-compression-method-fix.patch