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: v258-rc1~1365^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26bfd97216ab55664214d1e0fac7065e5573a36b;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. --- diff --git a/src/bootctl/bootctl-status.c b/src/bootctl/bootctl-status.c index 1fe2de0b23e..9d32bdb95f2 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)) &&