summaryrefslogtreecommitdiff
path: root/mkimage.sh
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-05 17:55:43 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-05 17:55:43 +0000
commit403339b2a751531841856c3d087199f086d1b86f (patch)
tree1f8c49dd1655cad41eff8e9b39f6c1df8976d4c8 /mkimage.sh
parent8ea6a052f432000c00394cb6ee2324abe8b7c72b (diff)
downloadmorph-403339b2a751531841856c3d087199f086d1b86f.tar.gz
Revert "Do not use mbr as the bootloader, since extlinux is sufficient"
This reverts commit 8ea6a052f432000c00394cb6ee2324abe8b7c72b. Bad testing on my part, sorry.
Diffstat (limited to 'mkimage.sh')
-rwxr-xr-xmkimage.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkimage.sh b/mkimage.sh
index a47dd121..87db0c63 100755
--- a/mkimage.sh
+++ b/mkimage.sh
@@ -78,6 +78,9 @@ sfdisk "$img" <<EOF
1,,83,*
EOF
+# Install the master boot record boot loader.
+install-mbr "$img"
+
# Access the partition inside the raw disk image file.
part=$(dummy_kpartx_add "$img")
trap "dummy_kpartx_delete $img" EXIT