forked from altcloud/mkimage-profiles
tar2vm: use -s Luke
This is a partial backport of g4918019 commit: "Really no need to test and sleep when there's sync mode"
This commit is contained in:
parent
4b45694ee4
commit
e31b12cbf8
@ -78,7 +78,7 @@ losetup "$LOOPDEV" "$IMG"
|
||||
parted --script "$LOOPDEV" mklabel msdos
|
||||
parted --script "$LOOPDEV" mkpart primary ext2 1 "$DISKSIZEM"
|
||||
|
||||
kpartx -a "$LOOPDEV"
|
||||
kpartx -a -s "$LOOPDEV"
|
||||
LOOPDEV1="/dev/mapper/$(basename "$LOOPDEV")p1"
|
||||
|
||||
mkfs."$ROOTFSTYPE" "$LOOPDEV1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user