summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_grub
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:05:12 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:26 +0100
commit8a99616e89afc0c88b650dc6297024d2514eed8a (patch)
tree5f8ac344a6116626b1845f5b2a36692dd27ea8e4 /helpers/lh_binary_grub
parent54ff9fc7b20dc18fb965a27e2556826282c70272 (diff)
downloadlive-build-8a99616e89afc0c88b650dc6297024d2514eed8a.zip
live-build-8a99616e89afc0c88b650dc6297024d2514eed8a.tar.gz
Adding LH_BOOTAPPEND_INSTALL.
Diffstat (limited to 'helpers/lh_binary_grub')
-rwxr-xr-xhelpers/lh_binary_grub4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_grub b/helpers/lh_binary_grub
index 9b09743..26f6b8f 100755
--- a/helpers/lh_binary_grub
+++ b/helpers/lh_binary_grub
@@ -93,7 +93,7 @@ Grub_install_entry ()
fi
LINUX_INSTALL="${LINUX_INSTALL}\ntitle\t\tDebian GNU/Linux - ${LABEL}"
- LINUX_INSTALL="${LINUX_INSTALL}\nkernel\t\t/${KERNEL} ${APPEND} --"
+ LINUX_INSTALL="${LINUX_INSTALL}\nkernel\t\t/${KERNEL} ${APPEND} ${LH_BOOTSTRAP_INSTALL}"
LINUX_INSTALL="${LINUX_INSTALL}\ninitrd\t\t/${INITRD}"
}
@@ -290,7 +290,7 @@ then
fi
sed -i -e "s#LINUX_LIVE#${LINUX_LIVE}#" -e "s#LINUX_INSTALL#${LINUX_INSTALL}#" -e "s#MEMTEST#${MEMTEST}#" binary/boot/grub/menu.lst
-sed -i -e "s#LH_BOOTAPPEND_LIVE#${LH_BOOTAPPEND_LIVE}#" binary/boot/grub/menu.lst
+sed -i -e "s#LH_BOOTAPPEND_INSTALL#${LH_BOOTAPPEND_INSTALL}#" -e "s#LH_BOOTAPPEND_LIVE#${LH_BOOTAPPEND_LIVE}#" binary/boot/grub/menu.lst
sed -i -e 's/\ $//g' binary/boot/grub/menu.lst