Skip to contentSkip to conversation

+ initramfs-read-config_rd_-variables-for-initramfs-compression-fix-2.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Oct 31, 2013 Kbuild

lore
Share & tools
lore
#0 lore raw

Subject: + initramfs-read-config_rd_-variables-for-initramfs-compression-fix-2.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Thu, 31 Oct 2013 13:54:30 -0700

The patch titled
Subject: initramfs-read-config_rd_-variables-for-initramfs-compression-fix-2
has been added to the -mm tree. Its filename is
initramfs-read-config_rd_-variables-for-initramfs-compression-fix-2.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/initramfs-read-config_rd_-variables-for-initramfs-compression-fix-2.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/initramfs-read-config_rd_-variables-for-initramfs-compression-fix-2.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: P J P <[email protected]>
Subject: initramfs-read-config_rd_-variables-for-initramfs-compression-fix-2

---

 scripts/gen_initramfs_list.sh |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)
scripts/gen_initramfs_list.sh renamed from scripts/gen_initramfs_list.sh~initramfs-read-config_rd_-variables-for-initramfs-compression-fix-2 +12 -6
diff -puN scripts/gen_initramfs_list.sh~initramfs-read-config_rd_-variables-for-initramfs-compression-fix-2 scripts/gen_initramfs_list.sh
@@ -240,17 +240,23 @@ case "$arg" in
 		output_file="$1"
 		cpio_list="$(mktemp ${TMPDIR:-/tmp}/cpiolist.XXXXXX)"
 		output=${cpio_list}
-		echo "$output_file" | grep -q "\.gz$" && [ -x "/bin/gzip" ] \
+		echo "$output_file" | grep -q "\.gz$" \
+                && [ -x "`which gzip 2> /dev/null`" ] \
                 && compr="gzip -n -9 -f"
-		echo "$output_file" | grep -q "\.bz2$" && [ -x "/bin/bzip2" ] \
+		echo "$output_file" | grep -q "\.bz2$" \
+                && [ -x "`which bzip2 2> /dev/null`" ] \
                 && compr="bzip2 -9 -f"
-		echo "$output_file" | grep -q "\.lzma$" && [ -x "/bin/lzma" ] \
+		echo "$output_file" | grep -q "\.lzma$" \
+                && [ -x "`which lzma 2> /dev/null`" ] \
                 && compr="lzma -9 -f"
-		echo "$output_file" | grep -q "\.xz$" && [ -x "/bin/xz" ] \
+		echo "$output_file" | grep -q "\.xz$" \
+                && [ -x "`which xz 2> /dev/null`" ] \
                 && compr="xz --check=crc32 --lzma2=dict=1MiB"
-		echo "$output_file" | grep -q "\.lzo$" && [ -x "/bin/lzop" ] \
+		echo "$output_file" | grep -q "\.lzo$" \
+                && [ -x "`which lzop 2> /dev/null`" ] \
                 && compr="lzop -9 -f"
-		echo "$output_file" | grep -q "\.lz4$" && [ -x "/bin/lz4" ] \
+		echo "$output_file" | grep -q "\.lz4$" \
+                && [ -x "`which lz4 2> /dev/null`" ] \
                 && compr="lz4 -9 -f"
 		echo "$output_file" | grep -q "\.cpio$" && compr="cat"
 		shift

_

Patches currently in -mm which might be from [email protected] are

initramfs-read-config_rd_-variables-for-initramfs-compression.patch initramfs-read-config_rd_-variables-for-initramfs-compression-fix.patch initramfs-read-config_rd_-variables-for-initramfs-compression-fix-2.patch makefile-export-initial-ramdisk-compression-config-option.patch