updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / grub2-ubuntu / ubuntu_really_quiet.patch
blob3616202606b62baf01510b78af6deb81196e8b19
1 Description: Remove verbose messages printed before reading configuration
2 In some ways this is awkward because it makes debugging harder, but it's a
3 requirement for a smooth-looking boot process; we may be able to do better in
4 future. Upstream doesn't want this, though.
5 Author: Colin Watson <cjwatson@ubuntu.com>
6 Bug-Ubuntu: https://bugs.launchpad.net/bugs/386922
7 Forwarded: not-needed
8 Last-Update: 2011-01-05
10 Index: b/grub-core/kern/main.c
11 ===================================================================
12 --- a/grub-core/kern/main.c
13 +++ b/grub-core/kern/main.c
14 @@ -173,11 +173,6 @@
15 /* First of all, initialize the machine. */
16 grub_machine_init ();
18 - /* Hello. */
19 - grub_setcolorstate (GRUB_TERM_COLOR_HIGHLIGHT);
20 - grub_printf ("Welcome to GRUB!\n\n");
21 - grub_setcolorstate (GRUB_TERM_COLOR_STANDARD);
23 /* Load pre-loaded modules and free the space. */
24 grub_register_exported_symbols ();
25 #ifdef GRUB_LINKER_HAVE_INIT
26 Index: b/grub-core/kern/rescue_reader.c
27 ===================================================================
28 --- a/grub-core/kern/rescue_reader.c
29 +++ b/grub-core/kern/rescue_reader.c
30 @@ -77,8 +77,6 @@
31 void
32 grub_rescue_run (void)
34 - grub_printf ("Entering rescue mode...\n");
36 while (1)
38 char *line;
39 Index: b/grub-core/normal/menu.c
40 ===================================================================
41 --- a/grub-core/normal/menu.c
42 +++ b/grub-core/normal/menu.c
43 @@ -668,12 +668,9 @@
45 /* Callback invoked immediately before a menu entry is executed. */
46 static void
47 -notify_booting (grub_menu_entry_t entry,
48 +notify_booting (grub_menu_entry_t entry __attribute__((unused)),
49 void *userdata __attribute__((unused)))
51 - grub_printf (" ");
52 - grub_printf_ (N_("Booting \'%s\'"), entry->title);
53 - grub_printf ("\n\n");
56 /* Callback invoked when a default menu entry executed because of a timeout