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