dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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