]> 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)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 13 Feb 2025 15:54:46 +0000 (15:54 +0000)
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.

(cherry picked from commit 26bfd97216ab55664214d1e0fac7065e5573a36b)

src/bootctl/bootctl-status.c

index 3b46632b921682b8b062daa8b9cc8b22a691c51b..9a4c233581ea538a4e39ff712b8805ac42b577ec 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)) &&