From: Eric Edgar Date: Mon, 27 Jun 2005 21:41:57 +0000 (+0000) Subject: bug 97051: Initramfs on 2.6+ kernels dont require ext2 filesystem so can drop this... X-Git-Tag: v3.4.10.902~520 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0e0bd641cbe155b17b2f4f1170dd43f0b73ff8b6;p=genkernel.git bug 97051: Initramfs on 2.6+ kernels dont require ext2 filesystem so can drop this forced entry. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@232 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/gen_configkernel.sh b/gen_configkernel.sh index e54ed59..929169d 100644 --- a/gen_configkernel.sh +++ b/gen_configkernel.sh @@ -92,8 +92,15 @@ config_kernel() { [ "$?" ] || gen_die 'Error: xconfig failed!' fi - # Make sure Ext2 support is on... - sed -i ${KERNEL_DIR}/.config -e 's/#\? \?CONFIG_EXT2_FS[ =].*/CONFIG_EXT2_FS=y/g' + # Force this on if we are a 2.4 kernel or less + # Force this on if we are using bootsplash + # This is required for initrd support + # Initramfs dont require this + if [ "${PAT}" -le '4' -o "${CMD_BOOTSPLASH}" = '1' ] + then + # Make sure Ext2 support is on... + sed -i ${KERNEL_DIR}/.config -e 's/#\? \?CONFIG_EXT2_FS[ =].*/CONFIG_EXT2_FS=y/g' + fi # Make sure lvm2 modules are on if --lvm2 if isTrue ${CMD_LVM2}