Blame SOURCES/0262-test-mark-partition-bootable.patch
|
|
594167 |
From f039730a8e2d0a6c8ea7539ffb1a54c8951f3622 Mon Sep 17 00:00:00 2001
|
|
|
594167 |
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
|
|
594167 |
Date: Mon, 27 Dec 2021 10:34:52 +0100
|
|
|
594167 |
Subject: [PATCH] test: mark partition bootable
|
|
|
594167 |
|
|
|
594167 |
Make test suite partition bootable so nspawn can use the image directly.
|
|
|
594167 |
Useful for local testing.
|
|
|
594167 |
|
|
|
594167 |
https://systemd.io/DISCOVERABLE_PARTITIONS/
|
|
|
594167 |
(cherry picked from commit b13a8b5b377f60cacad98fa8a989e992e8724c0e)
|
|
|
594167 |
|
|
|
594167 |
Related: #2087652
|
|
|
594167 |
---
|
|
|
594167 |
test/test-functions | 2 +-
|
|
|
594167 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
594167 |
|
|
|
594167 |
diff --git a/test/test-functions b/test/test-functions
|
|
|
594167 |
index 8523cf2d21..b596ce1382 100644
|
|
|
594167 |
--- a/test/test-functions
|
|
|
594167 |
+++ b/test/test-functions
|
|
|
594167 |
@@ -1219,7 +1219,7 @@ create_empty_image() {
|
|
|
594167 |
LOOPDEV=$(losetup --show -P -f "$IMAGE_PUBLIC")
|
|
|
594167 |
[ -b "$LOOPDEV" ] || return 1
|
|
|
594167 |
sfdisk "$LOOPDEV" <
|
|
|
594167 |
-,$((size - 50))M
|
|
|
594167 |
+,$((size - 50))M,L,*
|
|
|
594167 |
,
|
|
|
594167 |
EOF
|
|
|
594167 |
|