mirror of
https://codeberg.org/canoeboot/cbmk.git
synced 2025-01-10 17:19:57 +00:00
6adbc8680f
changes after libreboot 20231101 were imported, up to libreboot 20231106, and then to revision: c4d90087535617d4fb31ca94803f9426010cfec5 i945 and gm45 configs were re-done, and dell e6400 was moved to its own tree with the ddr2 fix moved there, to prevent breakage on ddr3-based gm45 boards (look at libreboot 20231106 for more info) several fixes are present in this canoeboot release, that were only merged in libreboot *after* the libreboot 20231106 release, and they are: * c4d90087 add grub mods: diskfilter,hashsum,loadenv,setjmp * d0d6decb re-add grub modules: f2fs, json, read, scsi, sleep * 86608721 nvmutil: print usage * f12f5c3a nvmutil: fix makefile the release documentation has also been updated, pulling down newer cbwww and cbwww-img based on the new canoeboot 20231107 release announcement Signed-off-by: Leah Rowe <leah@libreboot.org>
31 lines
924 B
Diff
31 lines
924 B
Diff
From e5b7ec81421487e71bcaf8b6b5a27f3649a62753 Mon Sep 17 00:00:00 2001
|
|
From: Leah Rowe <leah@libreboot.org>
|
|
Date: Sun, 5 Nov 2023 17:25:20 +0000
|
|
Subject: [PATCH 1/1] 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 53c734de7..7cac53983 100644
|
|
--- a/grub-core/kern/err.c
|
|
+++ b/grub-core/kern/err.c
|
|
@@ -107,7 +107,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.39.2
|
|
|