diff options
author | Albin Tonnerre <albin.tonnerre@free-electrons.com> | 2010-05-26 17:44:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 12:12:54 -0400 |
commit | 2a2a400f66e9e23eba960905c36dd37904bd9970 (patch) | |
tree | a46e11044410ddeb1d310fc4a1633f0438658327 /scripts | |
parent | edcd1d843adf09d1742d49ae04fa51bb63ddd1c3 (diff) |
initramfs: add support for in-kernel initramfs compressed with LZO
Add the necessary parts to be enable the use of LZO-compressed initramfs
build into the kernel.
Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/gen_initramfs_list.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gen_initramfs_list.sh b/scripts/gen_initramfs_list.sh index 76af5f9623e3..a932ae52f921 100644 --- a/scripts/gen_initramfs_list.sh +++ b/scripts/gen_initramfs_list.sh | |||
@@ -242,6 +242,7 @@ case "$arg" in | |||
242 | echo "$output_file" | grep -q "\.gz$" && compr="gzip -9 -f" | 242 | echo "$output_file" | grep -q "\.gz$" && compr="gzip -9 -f" |
243 | echo "$output_file" | grep -q "\.bz2$" && compr="bzip2 -9 -f" | 243 | echo "$output_file" | grep -q "\.bz2$" && compr="bzip2 -9 -f" |
244 | echo "$output_file" | grep -q "\.lzma$" && compr="lzma -9 -f" | 244 | echo "$output_file" | grep -q "\.lzma$" && compr="lzma -9 -f" |
245 | echo "$output_file" | grep -q "\.lzo$" && compr="lzop -9 -f" | ||
245 | echo "$output_file" | grep -q "\.cpio$" && compr="cat" | 246 | echo "$output_file" | grep -q "\.cpio$" && compr="cat" |
246 | shift | 247 | shift |
247 | ;; | 248 | ;; |