mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 17:58:46 +02:00
d22f7f9633
This brings these extra changes: * eaa3b8f0f Bump version to 2.15 * d38d6a1a9 Release 2.14 * 35bfd6c47 build: Add grub-core/tests/crypto_cipher_mode_vectors.h file to EXTRA_DIST * ac042f3f5 configure: Print a more helpful error if autoconf-archive is not installed * e37d02158 kern/ieee1275/openfw: Add a check for invalid partition number * f94eae0f8 grub-mkimage: Do not generate empty SBAT metadata * 1aa0dd0c0 configure: Defer check for -mcmodel=large until PIC/PIE checks are done * ff1edd975 util/grub-mkimagexx: Stop generating unaligned appended signatures * 51ebc6f67 tests: Add functional tests for ecb/cbc helpers * caaf50b9a osdep/aros/hostdisk: Fix use-after-free bug during MsgPort deletion * 18f08826f kern/efi/sb: Enable loading GRUB_FILE_TYPE_CRYPTODISK_ENCRYPTION_KEY and GRUB_FILE_TYPE_CRYPTODISK_DETACHED_HEADER NOTE: This patch was reversed: * ac042f3f5 configure: Print a more helpful error if autoconf-archive is not installed Because it quite unhelpfully broke the build. Signed-off-by: Leah Rowe <leah@libreboot.org>
32 lines
926 B
Diff
32 lines
926 B
Diff
From 53ae675a60c53792b0296828fb66d414b2d3f70e Mon Sep 17 00:00:00 2001
|
|
From: Leah Rowe <leah@libreboot.org>
|
|
Date: Sun, 5 Nov 2023 17:25:20 +0000
|
|
Subject: [PATCH 07/21] don't print empty error messages
|
|
|
|
this is part two of the quest to kill the prefix
|
|
error message. after i disabled prefix-related
|
|
messages, it still printed "error: ." on screen.
|
|
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
---
|
|
grub-core/kern/err.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/grub-core/kern/err.c b/grub-core/kern/err.c
|
|
index ba04b57fb..dab62646d 100644
|
|
--- a/grub-core/kern/err.c
|
|
+++ b/grub-core/kern/err.c
|
|
@@ -116,7 +116,8 @@ grub_print_error (void)
|
|
{
|
|
if (grub_errno != GRUB_ERR_NONE)
|
|
{
|
|
- grub_err_printf (_("error: %s.\n"), grub_errmsg);
|
|
+ if (grub_strlen(grub_errmsg) > 0)
|
|
+ grub_err_printf (_("error: %s.\n"), grub_errmsg);
|
|
grub_err_printed_errors++;
|
|
}
|
|
}
|
|
--
|
|
2.47.3
|
|
|