Hi! I've got the same problem so I confirm it. I found that the problem is because in wheezy syslinux package depends on syslinux-common which has /usr/lib/syslinux/mbr.bin Testing has syslinux package which doesn't depend on syslinux-common but has /usr/lib/SYSLINUX/mbr.bin. Even if there was dependency, syslinux-common has path /usr/lib/syslinux/mbr/mbr.bin. The same problem is for extlinux.
Ok, probable patch from my local copy of live-build git repo is
attached. It just convert path to uppercase, I think this is the minimal
changes. It works for me on my testing box. You can find binary_hdd in
your system at /usr/lib/live/build and patch it.
--
Cheers!
Denis Sirotkin
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd
index f5d4206..5fd7cfc 100755
--- a/scripts/build/binary_hdd
+++ b/scripts/build/binary_hdd
@@ -170,7 +170,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
if [ "${LB_BOOTLOADER}" = "syslinux" ]
then
- dd if=chroot/usr/lib/${_BOOTLOADER}/mbr.bin of=${FREELO} bs=440 count=1
+ dd if=chroot/usr/lib/$(echo ${_BOOTLOADER} | tr [:lower:] [:upper:])/mbr.bin of=${FREELO} bs=440 count=1
fi
;;
@@ -182,7 +182,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
if [ "${LB_BOOTLOADER}" = "syslinux" ]
then
- dd if=/usr/lib/${_BOOTLOADER}/mbr.bin of=${FREELO} bs=440 count=1
+ dd if=/usr/lib/$(echo ${_BOOTLOADER} | tr [:lower:] [:upper:])/mbr.bin of=${FREELO} bs=440 count=1
fi
;;
esac
signature.asc
Description: OpenPGP digital signature
