diff options
Diffstat (limited to 'create_image.sh')
-rwxr-xr-x | create_image.sh | 2 |
1 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 |