mirror of
https://github.com/systemd/systemd
synced 2024-10-14 20:17:52 +00:00
test-functions: use sfdisk without cyl,head,sectors
newer sfdisk implementations do not work with these anymore
This commit is contained in:
parent
99877b7e37
commit
edbced8a15
|
@ -137,8 +137,8 @@ create_empty_image() {
|
||||||
LOOPDEV=$(losetup --show -P -f $TESTDIR/rootdisk.img)
|
LOOPDEV=$(losetup --show -P -f $TESTDIR/rootdisk.img)
|
||||||
[ -b "$LOOPDEV" ] || return 1
|
[ -b "$LOOPDEV" ] || return 1
|
||||||
echo "LOOPDEV=$LOOPDEV" >> $STATEFILE
|
echo "LOOPDEV=$LOOPDEV" >> $STATEFILE
|
||||||
sfdisk -C 9600 -H 2 -S 32 -L "$LOOPDEV" <<EOF
|
sfdisk "$LOOPDEV" <<EOF
|
||||||
,4800
|
,290M
|
||||||
,
|
,
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue