]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootctl: also shown whether stub loader partition data was passed
authorLennart Poettering <lennart@poettering.net>
Sun, 9 Feb 2025 22:21:08 +0000 (23:21 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 9 Feb 2025 22:21:14 +0000 (23:21 +0100)
Let's make the stub and loader output sections more alike, and say in
both cases whether we recieved that data from the boot phase or not the
same way.

src/bootctl/bootctl-status.c

index 1fe2de0b23e723cd4e2fe6c1dfecd3cfaff4cd68..9d32bdb95f2b17faf29f9fc556f780ebd194d2f5 100644 (file)
@@ -508,6 +508,7 @@ int verb_status(int argc, char *argv[], void *userdata) {
 
                         sd_id128_t stub_partition_uuid = SD_ID128_NULL;
                         (void) efi_stub_get_device_part_uuid(&stub_partition_uuid);
+                        print_yes_no_line(/* first= */ false, !sd_id128_is_null(stub_partition_uuid), "Stub loader set partition information");
 
                         if (!sd_id128_is_null(stub_partition_uuid)) {
                                 if (!(!sd_id128_is_null(esp_uuid) && sd_id128_equal(esp_uuid, stub_partition_uuid)) &&