aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-02-06 08:33:10 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-02-06 09:31:59 +0000
commit94dc288487f2cb5c993ed471ed490a0031a65acc (patch)
tree1b2614aaeb996020653f640b8dd604e7efcc910d /defaults/config.sh
parentImplement ZFS Support (diff)
downloadgenkernel-94dc288487f2cb5c993ed471ed490a0031a65acc.tar.gz
genkernel-94dc288487f2cb5c993ed471ed490a0031a65acc.tar.bz2
genkernel-94dc288487f2cb5c993ed471ed490a0031a65acc.zip
Customizable initramfs compression based on Pentoo genkernel fork
This implements customizable initramfs compression, based on the Pentoo genkernel fork (SVN revs r2142, r2145, by Jens Pranaitis <jens@chaox.net>). New configuration option COMPRESS_INITRD_TYPE to allow manual selection, whereas the Pentoo fork provided auto-selection based on what was available in the kernel configuration. Auto-selection is used by default, and is available with the argument of 'best' to the new option. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'defaults/config.sh')
-rwxr-xr-xdefaults/config.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/defaults/config.sh b/defaults/config.sh
index d135e0e8..7ee9ef20 100755
--- a/defaults/config.sh
+++ b/defaults/config.sh
@@ -12,7 +12,8 @@ KERNEL_MAKE_DIRECTIVE_2=""
KERNEL_BINARY="arch/i386/boot/bzImage"
KERNEL_BINARY_OVERRIDE=""
-COMPRESS_INITRD=yes
+DEFAULT_COMPRESS_INITRD=yes
+DEFAULT_COMPRESS_INITRD_TYPE=best
#
# Arch-specific defaults that can be overridden in the config file or on the