Only call set_bootloader is CMD_NOINSTALL is not set for Gentoo bug #301454
authorAndrew Gaffney <agaffney@gentoo.org>
Tue, 19 Jan 2010 02:05:59 +0000 (20:05 -0600)
committerAndrew Gaffney <agaffney@gentoo.org>
Tue, 19 Jan 2010 02:05:59 +0000 (20:05 -0600)
ChangeLog
genkernel

index 09ad85104beb073d3c949b6342732afb1f3375b2..a888182d155fc7593af142ee15f279464dff1c67 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,10 @@
 # Distributed under the GPL v2
 # $Id$
 
+  19 Jan 2010; Andrew Gaffney <agaffney@gentoo.org> genkernel:
+  Only call set_bootloader is CMD_NOINSTALL is not set for Gentoo bug
+  #301454
+
   27 Dec 2009; Andrew Gaffney <agaffney@gentoo.org> arch/alpha/modules_load,
   arch/arm/modules_load, arch/ia64/kernel-config, arch/ia64/modules_load,
   arch/mips/modules_load, arch/parisc/modules_load,
index 998992eb4f7facfb8b9a07f97fb2a75c2291d8c5..23cb6672625990edaab4be1f26df789c33620fbe 100755 (executable)
--- a/genkernel
+++ b/genkernel
@@ -313,7 +313,10 @@ fi
 
 if [ "${BUILD_KERNEL}" -eq '1' ]
 then
-       set_bootloader
+       if ! isTrue "${CMD_NOINSTALL}"
+       then
+               set_bootloader
+       fi
        print_info 1 ''
        print_info 1 "Kernel compiled successfully!"
        print_info 1 ''