]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: use correct type for the root partition
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 11 Jan 2024 13:37:29 +0000 (14:37 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 11 Jan 2024 18:48:22 +0000 (03:48 +0900)
test/test-functions

index 6db79bd416123361c3b4b82cd4e45399eab025ef..1ee41b636d3b75a0f928ff30fdad483ae139fa69 100644 (file)
@@ -1653,7 +1653,7 @@ create_empty_image() {
     sfdisk "$LOOPDEV" <<EOF
 label: gpt
 type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B name=esp  size=${esp_size}M
-type=0FC63DAF-8483-4772-8E79-3D69D8477DE4 name=root size=${root_size}M bootable
+type=$(systemd-id128 show root -Pu) name=root size=${root_size}M bootable
 type=BC13C2FF-59E6-4262-A352-B275FD6F7172 name=boot size=${boot_size}M
 type=0FC63DAF-8483-4772-8E79-3D69D8477DE4 name=data
 EOF