diff options
author | Kristian Klausen <klausenbusk@hotmail.com> | 2016-05-26 17:33:20 +0200 |
---|---|---|
committer | Kristian Klausen <klausenbusk@hotmail.com> | 2016-05-26 17:33:20 +0200 |
commit | 090c6f3ceaef0c344b822063012c08c1e50fba88 (patch) | |
tree | 23bfe91a6fb379808cb15af328c04c29458e6de4 /scripts | |
parent | 25b15bce09e4d64e4f7e29c573308a8dd0135a05 (diff) | |
download | vyos-live-build-090c6f3ceaef0c344b822063012c08c1e50fba88.tar.gz vyos-live-build-090c6f3ceaef0c344b822063012c08c1e50fba88.zip |
Revert "Correct syslinux mbr.bin path."
This reverts commit 5161dcdf3bb50a8be7385f86fdfc60b0eb700bfa.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/binary_hdd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd index d0db38285..55932be8b 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/SYSLINUX/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/SYSLINUX/mbr.bin of=${FREELO} bs=440 count=1 + dd if=/usr/lib/${_BOOTLOADER}/mbr.bin of=${FREELO} bs=440 count=1 fi ;; esac |