Blame SOURCES/0039-Don-t-emit-Booting-.-message.patch

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