diff options
author | jnqnfe <jnqnfe@gmail.com> | 2015-01-14 00:07:48 +0000 |
---|---|---|
committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-16 16:29:00 +0000 |
commit | 464c7a6946cc82657b73fd0051e20c75fcae120c (patch) | |
tree | fd6cdb155d4b91811e53c9122bdc8a4ee336afc6 /scripts/build | |
parent | ca520eb5f0556094338e0c841dcaa970d9a28886 (diff) | |
download | vyos-live-build-464c7a6946cc82657b73fd0051e20c75fcae120c.tar.gz vyos-live-build-464c7a6946cc82657b73fd0051e20c75fcae120c.zip |
grub1: fix wrong variable name
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/binary_grub-legacy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/binary_grub-legacy b/scripts/build/binary_grub-legacy index 4a72969c9..d2736294e 100755 --- a/scripts/build/binary_grub-legacy +++ b/scripts/build/binary_grub-legacy @@ -178,9 +178,9 @@ DEFAULT_INITRD="initrd.img-$(echo ${DEFAULT_KERNEL} | sed -e 's|vmlinuz-||')" Grub_live_entry "live" "$(basename ${DESTDIR_LIVE})/${DEFAULT_KERNEL}" "$(basename ${DESTDIR_LIVE})/${DEFAULT_INITRD}" -if [ "${LB_BOOTAPPEND_FAILSAFE}" != "none" ] +if [ "${LB_BOOTAPPEND_LIVE_FAILSAFE}" != "none" ] then - Grub_live_entry "live (fail-safe mode)" "$(basename ${DESTDIR_LIVE})/${DEFAULT_KERNEL}" "$(basename ${DESTDIR_LIVE})/${DEFAULT_INITRD}" "${LB_BOOTAPPEND_FAILSAFE}" + Grub_live_entry "live (fail-safe mode)" "$(basename ${DESTDIR_LIVE})/${DEFAULT_KERNEL}" "$(basename ${DESTDIR_LIVE})/${DEFAULT_INITRD}" "${LB_BOOTAPPEND_LIVE_FAILSAFE}" fi for KERNEL in chroot/boot/vmlinuz-* @@ -188,7 +188,7 @@ do VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')" Grub_live_entry "live, kernel ${VERSION}" "$(basename ${DESTDIR_LIVE})/$(basename ${KERNEL})" "$(basename ${DESTDIR_LIVE})/initrd.img-${VERSION}" - Grub_live_entry "live, kernel ${VERSION} (fail-safe mode)" "$(basename ${DESTDIR_LIVE})/$(basename ${KERNEL})" "$(basename ${DESTDIR_LIVE})/initrd.img-${VERSION}" "${LB_BOOTAPPEND_FAILSAFE}" + Grub_live_entry "live, kernel ${VERSION} (fail-safe mode)" "$(basename ${DESTDIR_LIVE})/$(basename ${KERNEL})" "$(basename ${DESTDIR_LIVE})/initrd.img-${VERSION}" "${LB_BOOTAPPEND_LIVE_FAILSAFE}" done LINUX_LIVE="$(/bin/echo ${LINUX_LIVE} | sed -e 's|binary||g' -e 's|//|/|g')" |