summaryrefslogtreecommitdiff
path: root/scripts/build/binary_hdd
diff options
context:
space:
mode:
authorKristian Klausen <klausenbusk@hotmail.com>2016-05-26 17:34:22 +0200
committerKristian Klausen <klausenbusk@hotmail.com>2016-05-26 17:34:22 +0200
commitddc6659002b751e3eea0ca42bb22e52279cc4288 (patch)
tree0ff10cadf914dbbb40f53070b3987cf6e14b3545 /scripts/build/binary_hdd
parent090c6f3ceaef0c344b822063012c08c1e50fba88 (diff)
downloadvyos-live-build-ddc6659002b751e3eea0ca42bb22e52279cc4288.tar.gz
vyos-live-build-ddc6659002b751e3eea0ca42bb22e52279cc4288.zip
Correct syslinux/extlinux mbr.bin path
Fix #773833
Diffstat (limited to 'scripts/build/binary_hdd')
-rwxr-xr-xscripts/build/binary_hdd4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd
index 55932be8b..81e4af23a 100755
--- a/scripts/build/binary_hdd
+++ b/scripts/build/binary_hdd
@@ -186,7 +186,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
if [ "${LB_PRIMARY_BOOTLOADER}" = "syslinux" ]
then
- dd if=chroot/usr/lib/${_BOOTLOADER}/mbr.bin of=${FREELO} bs=440 count=1
+ dd if=chroot/usr/lib/${_BOOTLOADER^^}/mbr.bin of=${FREELO} bs=440 count=1
fi
;;
@@ -206,7 +206,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
if [ "${LB_PRIMARY_BOOTLOADER}" = "syslinux" ]
then
- dd if=/usr/lib/${_BOOTLOADER}/mbr.bin of=${FREELO} bs=440 count=1
+ dd if=/usr/lib/${_BOOTLOADER^^}/mbr.bin of=${FREELO} bs=440 count=1
fi
;;
esac