mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 10:13:34 +08: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)
|
||||
[ -b "$LOOPDEV" ] || return 1
|
||||
echo "LOOPDEV=$LOOPDEV" >> $STATEFILE
|
||||
sfdisk -C 9600 -H 2 -S 32 -L "$LOOPDEV" <<EOF
|
||||
,4800
|
||||
sfdisk "$LOOPDEV" <<EOF
|
||||
,290M
|
||||
,
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user