mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09: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:
committed by
Frantisek Sumsal
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user