summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Pustjens <pustjens@dds.nl>2010-03-05 22:19:41 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2010-03-05 22:19:41 +0100
commitaa80222dfd8b99da392236d139517076b3292cf6 (patch)
treed8dc6654a68543c96a1f274c9b733be3397cc783 /src
parent7075c72e1ef816a74eba379ea5450293a60f9f1d (diff)
add the `-D' option to the sfdisk call.
This causes some extra space to be saved for the MBR, which is needed for grub2 in some cases. http://www.mail-archive.com/arch-general@archlinux.org/msg11100.html
Diffstat (limited to 'src')
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh
index c0fe3ad..e6227b9 100644
--- a/src/core/libs/lib-blockdevices-filesystems.sh
+++ b/src/core/libs/lib-blockdevices-filesystems.sh
@@ -368,7 +368,7 @@ partition()
# invoke sfdisk
debug 'FS' "Partition calls: sfdisk $DEVICE -uM >$LOG 2>&1 <<< $sfdisk_input"
printk off
- sfdisk $DEVICE -uM >$LOG 2>&1 <<EOF
+ sfdisk -D $DEVICE -uM >$LOG 2>&1 <<EOF
$sfdisk_input
EOF
if [ $? -gt 0 ]; then