diff options
author | Liam McLoughlin <hexxeh@hexxeh.net> | 2011-08-14 16:48:21 +0100 |
---|---|---|
committer | Liam McLoughlin <hexxeh@hexxeh.net> | 2011-08-14 16:48:21 +0100 |
commit | 330f9e967a776c1292361f4d7ebc4986e63988d4 (patch) | |
tree | a6ed9801ea1f53765c95e12a89b11b8218342ab0 | |
parent | Short tags are bad, change to a full tag (diff) | |
download | gentoaster-330f9e967a776c1292361f4d7ebc4986e63988d4.tar.gz gentoaster-330f9e967a776c1292361f4d7ebc4986e63988d4.tar.bz2 gentoaster-330f9e967a776c1292361f4d7ebc4986e63988d4.zip |
Ship SYSLINUX MBR to maintain portability
-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 |