[grub2/f19] Don't print GNU GRUB header
Peter Jones
pjones at fedoraproject.org
Fri Jun 7 18:25:47 UTC 2013
commit 2961fa6052958a340fe9bee86854da125b9bbc47
Author: William Jon McCann <william.jon.mccann at gmail.com>
Date: Wed May 15 13:56:25 2013 -0400
Don't print GNU GRUB header
No one cares.
grub-2.00-no-header.patch | 33 +++++++++++++++++++++++++++++++++
grub2.spec | 1 +
2 files changed, 34 insertions(+), 0 deletions(-)
---
diff --git a/grub-2.00-no-header.patch b/grub-2.00-no-header.patch
new file mode 100644
index 0000000..f44692b
--- /dev/null
+++ b/grub-2.00-no-header.patch
@@ -0,0 +1,33 @@
+From ebe8edc5062f2d0cba0a355b827134e01345d727 Mon Sep 17 00:00:00 2001
+From: Fedora Ninjas <grub2-owner at 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
+
diff --git a/grub2.spec b/grub2.spec
index 2c676e0..c9398ea 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -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
Patch0366: 0004-conf-Makefile.common-Poison-float-and-double-on-non-.patch
Patch0367: grub-2.00-quiet-boot.patch
+Patch0368: grub-2.00-no-header.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
More information about the scm-commits
mailing list