|
|
8e15ce |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
8e15ce |
From: Peter Jones <pjones@redhat.com>
|
|
|
8e15ce |
Date: Tue, 18 Feb 2014 09:37:49 -0500
|
|
|
8e15ce |
Subject: [PATCH] Don't emit "Booting ..." message.
|
|
|
8e15ce |
|
|
|
8e15ce |
UI team still hates this stuff, so we're disabling it for RHEL 7.
|
|
|
8e15ce |
|
|
|
8e15ce |
Resolves: rhbz#1023142
|
|
|
8e15ce |
|
|
|
8e15ce |
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
|
8e15ce |
---
|
|
|
8e15ce |
grub-core/normal/menu.c | 4 +++-
|
|
|
8e15ce |
grub-core/normal/menu_entry.c | 3 ---
|
|
|
8e15ce |
2 files changed, 3 insertions(+), 4 deletions(-)
|
|
|
8e15ce |
|
|
|
8e15ce |
diff --git a/grub-core/normal/menu.c b/grub-core/normal/menu.c
|
|
|
8e15ce |
index d7a222e681b..37d753d8081 100644
|
|
|
8e15ce |
--- a/grub-core/normal/menu.c
|
|
|
8e15ce |
+++ b/grub-core/normal/menu.c
|
|
|
8e15ce |
@@ -838,12 +838,14 @@ run_menu (grub_menu_t menu, int nested, int *auto_boot)
|
|
|
8e15ce |
|
|
|
8e15ce |
/* Callback invoked immediately before a menu entry is executed. */
|
|
|
8e15ce |
static void
|
|
|
8e15ce |
-notify_booting (grub_menu_entry_t entry,
|
|
|
8e15ce |
+notify_booting (grub_menu_entry_t __attribute__((unused)) entry,
|
|
|
8e15ce |
void *userdata __attribute__((unused)))
|
|
|
8e15ce |
{
|
|
|
8e15ce |
+#if 0
|
|
|
8e15ce |
grub_printf (" ");
|
|
|
8e15ce |
grub_printf_ (N_("Booting `%s'"), entry->title);
|
|
|
8e15ce |
grub_printf ("\n\n");
|
|
|
8e15ce |
+#endif
|
|
|
8e15ce |
}
|
|
|
8e15ce |
|
|
|
8e15ce |
/* Callback invoked when a default menu entry executed because of a timeout
|
|
|
8e15ce |
diff --git a/grub-core/normal/menu_entry.c b/grub-core/normal/menu_entry.c
|
|
|
8e15ce |
index 50eef918cf6..de64a367c4e 100644
|
|
|
8e15ce |
--- a/grub-core/normal/menu_entry.c
|
|
|
8e15ce |
+++ b/grub-core/normal/menu_entry.c
|
|
|
8e15ce |
@@ -1176,9 +1176,6 @@ run (struct screen *screen)
|
|
|
8e15ce |
char *dummy[1] = { NULL };
|
|
|
8e15ce |
|
|
|
8e15ce |
grub_cls ();
|
|
|
8e15ce |
- grub_printf (" ");
|
|
|
8e15ce |
- grub_printf_ (N_("Booting a command list"));
|
|
|
8e15ce |
- grub_printf ("\n\n");
|
|
|
8e15ce |
|
|
|
8e15ce |
errs_before = grub_err_printed_errors;
|
|
|
8e15ce |
|