From f6c50d59a93049abd8e1bb880639ff27abc6b5ae Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Mon, 18 Jan 2010 20:05:59 -0600 Subject: [PATCH] Only call set_bootloader is CMD_NOINSTALL is not set for Gentoo bug #301454 --- ChangeLog | 4 ++++ genkernel | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 09ad851..a888182 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ # Distributed under the GPL v2 # $Id$ + 19 Jan 2010; Andrew Gaffney genkernel: + Only call set_bootloader is CMD_NOINSTALL is not set for Gentoo bug + #301454 + 27 Dec 2009; Andrew Gaffney arch/alpha/modules_load, arch/arm/modules_load, arch/ia64/kernel-config, arch/ia64/modules_load, arch/mips/modules_load, arch/parisc/modules_load, diff --git a/genkernel b/genkernel index 998992e..23cb667 100755 --- 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 '' -- 2.26.2