dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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