summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_grub
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:05:11 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:26 +0100
commit54ff9fc7b20dc18fb965a27e2556826282c70272 (patch)
tree042fef5ba472f685b6a2ef64f830616c3f7203b7 /helpers/lh_binary_grub
parentd68b95dfb379d4eeeb1d383bccc1610de608a9f8 (diff)
downloadlive-build-54ff9fc7b20dc18fb965a27e2556826282c70272.zip
live-build-54ff9fc7b20dc18fb965a27e2556826282c70272.tar.gz
Renaming LH_BOOTAPPEND to LH_BOOTAPPEND_LIVE.
Diffstat (limited to 'helpers/lh_binary_grub')
-rwxr-xr-xhelpers/lh_binary_grub18
1 files changed, 9 insertions, 9 deletions
diff --git a/helpers/lh_binary_grub b/helpers/lh_binary_grub
index b3ea4a0..9b09743 100755
--- a/helpers/lh_binary_grub
+++ b/helpers/lh_binary_grub
@@ -76,7 +76,7 @@ Grub_live_entry ()
APPEND="${4}"
LINUX_LIVE="${LINUX_LIVE}\ntitle\t\tDebian GNU/Linux - ${LABEL}"
- LINUX_LIVE="${LINUX_LIVE}\nkernel\t\t/${KERNEL} boot=${INITFS} LH_BOOTAPPEND ${APPEND}"
+ LINUX_LIVE="${LINUX_LIVE}\nkernel\t\t/${KERNEL} boot=${INITFS} LH_BOOTAPPEND_LIVE ${APPEND}"
LINUX_LIVE="${LINUX_LIVE}\ninitrd\t\t/${INITRD}"
}
@@ -137,20 +137,20 @@ mkdir -p "${DESTDIR_LIVE}"
# Setting boot parameters
if [ -n "${LH_ENCRYPTION}" ]
then
- LH_BOOTAPPEND="${LH_BOOTAPPEND} encryption=${LH_ENCRYPTION}"
+ LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} encryption=${LH_ENCRYPTION}"
fi
if [ -n "${LH_USERNAME}" ]
then
case "${LH_INITRAMFS}" in
casper)
- LH_BOOTAPPEND="${LH_BOOTAPPEND} username=${LH_USERNAME}"
+ LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} username=${LH_USERNAME}"
;;
live-initramfs)
if [ "${LH_USERNAME}" != "user" ]
then
- LH_BOOTAPPEND="${LH_BOOTAPPEND} username=${LH_USERNAME}"
+ LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} username=${LH_USERNAME}"
fi
;;
esac
@@ -160,13 +160,13 @@ if [ -n "${LH_HOSTNAME}" ]
then
case "${LH_INITRAMFS}" in
casper)
- LH_BOOTAPPEND="${LH_BOOTAPPEND} hostname=${LH_HOSTNAME}"
+ LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} hostname=${LH_HOSTNAME}"
;;
live-initramfs)
if [ "${LH_HOSTNAME}" != "debian" ]
then
- LH_BOOTAPPEND="${LH_BOOTAPPEND} hostname=${LH_HOSTNAME}"
+ LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} hostname=${LH_HOSTNAME}"
fi
;;
esac
@@ -174,10 +174,10 @@ fi
if [ "${LH_UNION_FILESYSTEM}" != "unionfs" ]
then
- LH_BOOTAPPEND="${LH_BOOTAPPEND} union=${LH_UNION_FILESYSTEM}"
+ LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} union=${LH_UNION_FILESYSTEM}"
fi
-LH_BOOTAPPEND="`echo ${LH_BOOTAPPEND} | sed -e 's/ //'`"
+LH_BOOTAPPEND_LIVE="`echo ${LH_BOOTAPPEND_LIVE} | sed -e 's/ //'`"
# Parameters are listed at: linux/Documentation/kernel-parameters.txt
FAILSAFE="noapic noapm nodma nomce nolapic nosmp vga=normal"
@@ -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#${LH_BOOTAPPEND}#" binary/boot/grub/menu.lst
+sed -i -e "s#LH_BOOTAPPEND_LIVE#${LH_BOOTAPPEND_LIVE}#" binary/boot/grub/menu.lst
sed -i -e 's/\ $//g' binary/boot/grub/menu.lst