Blame SOURCES/0077-bootctl-downgrade-log-message-when-firmware-reports-.patch
|
|
ac3a84 |
From 6164408188766a31e778ec670239482db886d9be Mon Sep 17 00:00:00 2001
|
|
|
ac3a84 |
From: Yu Watanabe <watanabe.yu+github@gmail.com>
|
|
|
ac3a84 |
Date: Sun, 13 Nov 2022 14:41:08 +0900
|
|
|
ac3a84 |
Subject: [PATCH] bootctl: downgrade log message when firmware reports
|
|
|
ac3a84 |
non-existent or invalid boot entry
|
|
|
ac3a84 |
|
|
|
ac3a84 |
Fixes #25359.
|
|
|
ac3a84 |
|
|
|
ac3a84 |
(cherry picked from commit 78bfeeae508a554483de02b52aa2e5afdc341e1a)
|
|
|
ac3a84 |
|
|
|
ac3a84 |
Related: #2138081
|
|
|
ac3a84 |
---
|
|
|
ac3a84 |
src/boot/bootctl.c | 2 +-
|
|
|
ac3a84 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
ac3a84 |
|
|
|
ac3a84 |
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
|
|
|
ac3a84 |
index 64a4b74715..a5811adf20 100644
|
|
|
ac3a84 |
--- a/src/boot/bootctl.c
|
|
|
ac3a84 |
+++ b/src/boot/bootctl.c
|
|
|
ac3a84 |
@@ -586,7 +586,7 @@ static int print_efi_option(uint16_t id, int *n_printed, bool in_order) {
|
|
|
ac3a84 |
|
|
|
ac3a84 |
r = efi_get_boot_option(id, &title, &partition, &path, &active);
|
|
|
ac3a84 |
if (r < 0)
|
|
|
ac3a84 |
- return log_error_errno(r, "Failed to read boot option 0x%04X: %m", id);
|
|
|
ac3a84 |
+ return log_debug_errno(r, "Failed to read boot option 0x%04X: %m", id);
|
|
|
ac3a84 |
|
|
|
ac3a84 |
/* print only configured entries with partition information */
|
|
|
ac3a84 |
if (!path || sd_id128_is_null(partition)) {
|