From ddc6659002b751e3eea0ca42bb22e52279cc4288 Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Thu, 26 May 2016 17:34:22 +0200 Subject: Correct syslinux/extlinux mbr.bin path Fix #773833 --- scripts/build/binary_hdd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3