aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-10-19 15:20:54 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2012-10-19 15:20:54 -0700
commita60e920d61e727b3cab90f1b8079acf556cf77c2 (patch)
tree20ffbc0a4bc227b5ab43677f2abc29fd06a229d9
parentSupport using init= on the command line (diff)
downloadgenkernel-a60e920d61e727b3cab90f1b8079acf556cf77c2.tar.gz
genkernel-a60e920d61e727b3cab90f1b8079acf556cf77c2.tar.bz2
genkernel-a60e920d61e727b3cab90f1b8079acf556cf77c2.zip
Missing then keyword.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--ChangeLog3
-rwxr-xr-xgen_bootloader.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 023016b..7902101 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
# Distributed under the GPL v2
# $Id$
+ 19 Oct 2012; Robin H. Johnson <robbat2@gentoo.org> gen_bootloader.sh:
+ Missing then keyword.
+
15 Oct 2012; Peter Hjalmarsson <xake@rymdraket.net> defaults/linuxrc:
Support using init= on the command line.
diff --git a/gen_bootloader.sh b/gen_bootloader.sh
index 7a4f485..5848bd2 100755
--- a/gen_bootloader.sh
+++ b/gen_bootloader.sh
@@ -91,6 +91,7 @@ set_bootloader_grub() {
echo "title=Gentoo Linux ($KV)" >> ${GRUB_CONF}
echo -e "\tkernel /kernel-${KNAME}-${ARCH}-${KV} root=${GRUB_ROOTFS}" >> ${GRUB_CONF}
if [ "${BUILD_INITRD}" = '1' ]
+ then
if [ "${PAT}" -gt '4' ]
then
echo -e "\tinitrd /initramfs-${KNAME}-${ARCH}-${KV}" >> ${GRUB_CONF}