mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
test-functions: use sfdisk without cyl,head,sectors
newer sfdisk implementations do not work with these anymore
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user