test-functions: use sfdisk without cyl,head,sectors

newer sfdisk implementations do not work with these anymore
This commit is contained in:
Harald Hoyer 2015-02-03 10:44:27 +01:00
parent 99877b7e37
commit edbced8a15

View File

@ -137,8 +137,8 @@ create_empty_image() {
LOOPDEV=$(losetup --show -P -f $TESTDIR/rootdisk.img)
[ -b "$LOOPDEV" ] || return 1
echo "LOOPDEV=$LOOPDEV" >> $STATEFILE
sfdisk -C 9600 -H 2 -S 32 -L "$LOOPDEV" <<EOF
,4800
sfdisk "$LOOPDEV" <<EOF
,290M
,
EOF