From: Lennart Poettering Date: Sun, 9 Feb 2025 22:21:08 +0000 (+0100) Subject: bootctl: also shown whether stub loader partition data was passed X-Git-Tag: v257.3~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e8f67eac6a3c7b159559f21e2146fce608d483e;p=thirdparty%2Fsystemd.git bootctl: also shown whether stub loader partition data was passed 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) --- diff --git a/src/bootctl/bootctl-status.c b/src/bootctl/bootctl-status.c index 3b46632b921..9a4c233581e 100644 --- a/src/bootctl/bootctl-status.c +++ b/src/bootctl/bootctl-status.c @@ -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)) &&