dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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