Blame SOURCES/0031-Don-t-print-GNU-GRUB-header.patch
|
|
d9d99f |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
d9d99f |
From: William Jon McCann <william.jon.mccann@gmail.com>
|
|
|
d9d99f |
Date: Wed, 15 May 2013 13:53:48 -0400
|
|
|
d9d99f |
Subject: [PATCH] Don't print GNU GRUB header
|
|
|
d9d99f |
|
|
|
d9d99f |
No one cares.
|
|
|
d9d99f |
---
|
|
|
d9d99f |
grub-core/normal/main.c | 8 +++++---
|
|
|
d9d99f |
1 file changed, 5 insertions(+), 3 deletions(-)
|
|
|
d9d99f |
|
|
|
d9d99f |
diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
|
|
|
d9d99f |
index b2654ef62e8..f57b7508a76 100644
|
|
|
d9d99f |
--- a/grub-core/normal/main.c
|
|
|
d9d99f |
+++ b/grub-core/normal/main.c
|
|
|
d9d99f |
@@ -202,15 +202,16 @@ read_config_file (const char *config)
|
|
|
d9d99f |
/* Initialize the screen. */
|
|
|
d9d99f |
void
|
|
|
d9d99f |
grub_normal_init_page (struct grub_term_output *term,
|
|
|
d9d99f |
- int y)
|
|
|
d9d99f |
+ int y __attribute__((__unused__)))
|
|
|
d9d99f |
{
|
|
|
d9d99f |
+ grub_term_cls (term);
|
|
|
d9d99f |
+
|
|
|
d9d99f |
+#if 0
|
|
|
d9d99f |
grub_ssize_t msg_len;
|
|
|
d9d99f |
int posx;
|
|
|
d9d99f |
char *msg_formatted;
|
|
|
d9d99f |
grub_uint32_t *unicode_msg;
|
|
|
d9d99f |
grub_uint32_t *last_position;
|
|
|
d9d99f |
-
|
|
|
d9d99f |
- grub_term_cls (term);
|
|
|
d9d99f |
|
|
|
d9d99f |
msg_formatted = grub_xasprintf (_("GNU GRUB version %s"), PACKAGE_VERSION);
|
|
|
d9d99f |
if (!msg_formatted)
|
|
|
d9d99f |
@@ -235,6 +236,7 @@ grub_normal_init_page (struct grub_term_output *term,
|
|
|
d9d99f |
grub_putcode ('\n', term);
|
|
|
d9d99f |
grub_putcode ('\n', term);
|
|
|
d9d99f |
grub_free (unicode_msg);
|
|
|
d9d99f |
+#endif
|
|
|
d9d99f |
}
|
|
|
d9d99f |
|
|
|
d9d99f |
static void
|