diff options
-rwxr-xr-x | create_image.sh | 2 | ||||
-rw-r--r-- | res/mbr.bin | bin | 0 -> 440 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/create_image.sh b/create_image.sh index c3ec7d1..12efa48 100755 --- a/create_image.sh +++ b/create_image.sh @@ -270,7 +270,7 @@ sed -i '/MAKEOPTS/ d' etc/make.conf echo "Step 23: Installing extlinux" extlinux --heads 255 --sectors 63 --install boot &>> ${LOG_FILE} || handle_error "Error installing extlinux" -dd if=/usr/lib/extlinux/mbr.bin of=../${IMAGE_NAME} conv=notrunc &>> ${LOG_FILE} || handle_error "Error copying extlinux MBR" +dd if=${TOOL_RES_PATH}/mbr.bin of=../${IMAGE_NAME} conv=notrunc &>> ${LOG_FILE} || handle_error "Error copying extlinux MBR" cp ${TOOL_RES_PATH}/extlinux.conf boot/ || handle_error "Error copying extlinux configuration" cd .. cleanup_mounts diff --git a/res/mbr.bin b/res/mbr.bin Binary files differnew file mode 100644 index 0000000..8592b59 --- /dev/null +++ b/res/mbr.bin |