mirror of
https://github.com/systemd/systemd
synced 2024-10-14 12:04:49 +00:00
test: mark partition bootable
Make test suite partition bootable so nspawn can use the image directly. Useful for local testing. https://systemd.io/DISCOVERABLE_PARTITIONS/
This commit is contained in:
parent
d39d3696c0
commit
b13a8b5b37
|
@ -1238,7 +1238,7 @@ create_empty_image() {
|
|||
LOOPDEV=$(losetup --show -P -f "$IMAGE_PUBLIC")
|
||||
[ -b "$LOOPDEV" ] || return 1
|
||||
sfdisk "$LOOPDEV" <<EOF
|
||||
,$((size - 50))M
|
||||
,$((size - 50))M,L,*
|
||||
,
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Reference in a new issue