Don't print GNU GRUB header

No one cares.
This commit is contained in:
William Jon McCann 2013-05-15 13:56:25 -04:00 committed by Peter Jones
parent 3a1a6259bc
commit 2961fa6052
2 changed files with 34 additions and 0 deletions

33
grub-2.00-no-header.patch Normal file
View file

@ -0,0 +1,33 @@
From ebe8edc5062f2d0cba0a355b827134e01345d727 Mon Sep 17 00:00:00 2001
From: Fedora Ninjas <grub2-owner@fedoraproject.org>
Date: Wed, 15 May 2013 13:53:48 -0400
Subject: [PATCH] Don't print GNU GRUB header
No one cares.
---
grub-core/normal/main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
index b40d987..ee5d4e2 100644
--- a/grub-core/normal/main.c
+++ b/grub-core/normal/main.c
@@ -241,6 +241,7 @@ grub_normal_init_page (struct grub_term_output *term)
grub_term_cls (term);
+#if 0
msg_formatted = grub_xasprintf (msg, PACKAGE_VERSION);
if (!msg_formatted)
return;
@@ -262,6 +263,7 @@ grub_normal_init_page (struct grub_term_output *term)
grub_putcode ('\n', term);
grub_putcode ('\n', term);
grub_free (unicode_msg);
+#endif
}
static void
--
1.8.2.1

View file

@ -419,6 +419,7 @@ Patch0364: 0002-configure.ac-Don-t-use-extended-registers-on-x86_64.patch
Patch0365: 0003-configure.ac-Don-t-disable-extended-registers-on-emu.patch Patch0365: 0003-configure.ac-Don-t-disable-extended-registers-on-emu.patch
Patch0366: 0004-conf-Makefile.common-Poison-float-and-double-on-non-.patch Patch0366: 0004-conf-Makefile.common-Poison-float-and-double-on-non-.patch
Patch0367: grub-2.00-quiet-boot.patch Patch0367: grub-2.00-quiet-boot.patch
Patch0368: grub-2.00-no-header.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)