Support for glibc-2.14 systems
[genkernel.git] / genkernel
index f72cf43f493e33bf9ad67bfe310509c0d2cb4690..0122b0aa52f27fceaa4d7195047dffeb68d2a2a6 100755 (executable)
--- a/genkernel
+++ b/genkernel
@@ -2,7 +2,7 @@
 # $Id$
 
 PATH="${PATH}:/sbin:/usr/sbin"
-GK_V='3.4.16'
+GK_V='3.4.20'
 
 # Set the default for TMPDIR.  May be modified by genkernel.conf or the
 # --tempdir command line option.
@@ -131,7 +131,7 @@ dump_debugcache
 NORMAL=${BOLD} print_info 1 "Linux Kernel ${BOLD}${KV}${NORMAL} for ${BOLD}${ARCH}${NORMAL}..."
 
 # Check BOOTDIR is mounted
-if isTrue ${CMD_NOINSTALL}
+if ! isTrue ${CMD_INSTALL}
 then
        isTrue ${MOUNTBOOT} && print_info 2 'Skipping automatic mount of boot'
 else
@@ -230,7 +230,7 @@ then
        fi
 fi
 
-if ! isTrue "${CMD_NOINSTALL}"
+if isTrue "${CMD_INSTALL}"
 then
        if [ "${KERNCACHE}" != "" -a "${KERNCACHE_IS_VALID}" != "0" ] 
        then
@@ -313,7 +313,7 @@ fi
 
 if [ "${BUILD_KERNEL}" = '1' ]
 then
-       if ! isTrue "${CMD_NOINSTALL}"
+       if isTrue "${CMD_INSTALL}"
        then
                set_bootloader
        fi
@@ -348,7 +348,6 @@ then
        print_warning 1 'Additional kernel cmdline arguments that *may* be required to boot properly...'
        [ "${SPLASH}" = '1' ] && print_warning 1 "add \"vga=791 splash=silent,theme:${SPLASH_THEME} console=tty1 quiet\" if you use a splash framebuffer ]"
        [ "${LVM}" = '1' ] && print_warning 1 'add "dolvm" for lvm support'
-       [ "${EVMS}" = '1' ] && print_warning 1 'add "doevms" for evms support'
        [ "${DMRAID}" = '1' ] && print_warning 1 'add "dodmraid" for dmraid support'
        [ "${MDADM}" = '1' ] && print_warning 1 'add "domdadm" for RAID support'
        [ "${DMRAID}" = '1' ] && print_warning 1 '      or "dodmraid=<additional options>"'