aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Yao <ryao@cs.stonybrook.edu>2012-08-05 13:21:26 -0400
committerRichard Yao <ryao@cs.stonybrook.edu>2012-08-05 13:21:26 -0400
commit79968686c258628fc8f80445a0bf757ab172e35c (patch)
treede85e3c52cabb15f10e58857e2fdc64ad917411d
parentCorrect incorrect merge conflict resolution by using BUILD_DST instead of KER... (diff)
downloadgenkernel-79968686c258628fc8f80445a0bf757ab172e35c.tar.gz
genkernel-79968686c258628fc8f80445a0bf757ab172e35c.tar.bz2
genkernel-79968686c258628fc8f80445a0bf757ab172e35c.zip
Fallback to selecting initramfs compression based on kernel image compressionv3.4.40-funtoo3.4.40-r1-funtoo
-rwxr-xr-xgen_initramfs.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/gen_initramfs.sh b/gen_initramfs.sh
index f1a653ab..9810e061 100755
--- a/gen_initramfs.sh
+++ b/gen_initramfs.sh
@@ -806,7 +806,11 @@ create_initramfs() {
'CONFIG_RD_LZMA cmd_lzma lzma' \
'CONFIG_RD_BZIP2 cmd_bzip2 bzip2' \
'CONFIG_RD_GZIP cmd_gzip gzip' \
- 'CONFIG_RD_LZO cmd_lzop lzop'; do
+ 'CONFIG_RD_LZO cmd_lzop lzop' \
+ 'CONFIG_KERNEL_LZMA cmd_lzma lzma' \
+ 'CONFIG_KERNEL_BZIP2 cmd_bzip2 bzip2' \
+ 'CONFIG_KERNEL_GZIP cmd_gzip gzip' \
+ 'CONFIG_KERNEL_LZO cmd_lzop lzop'; do
set -- ${tuple}
kernel_option=$1
cmd_variable_name=$2