~ubuntu-branches/ubuntu/trusty/grub2/trusty-updates

« back to all changes in this revision

Viewing changes to debian/patches/message_refresh.patch

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-02-08 11:39:26 UTC
  • mfrom: (17.6.26 experimental)
  • mto: (17.6.27 experimental)
  • mto: This revision was merged to the branch mainline in revision 104.
  • Revision ID: james.westby@ubuntu.com-20110208113926-clfs90haboyk9zip
Tags: 1.99~rc1-2
* Merge 1.98+20100804-13 and 1.98+20100804-14, updating translations:
  - Kazakh (Baurzhan Muftakhidinov / Timur Birsh).
* mkconfig_skip_dmcrypt.patch: Refer to GRUB_PRELOAD_MODULES rather than
  suggesting people write a /etc/grub.d/01_modules script (thanks, Jordan
  Uggla).
* Handle empty dir passed to grub_find_root_device_from_mountinfo; fixes
  grub-mkrelpath on btrfs subvolumes (LP: #712029).
* Add rootflags=subvol=<name> if / is on a btrfs subvolume (LP: #712029).
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: Make error messages visible again
2
 
Author: Robert Millan <rmh@debian.org>
3
 
Forwarded: not needed, patch from upstream Bazaar
4
 
Last-Update: 2010-11-30
5
 
 
6
 
--- a/commands/echo.c   2010-01-03 18:24:22 +0000
7
 
+++ b/commands/echo.c   2010-11-30 14:35:32 +0000
8
 
@@ -21,6 +21,7 @@
9
 
 #include <grub/misc.h>
10
 
 #include <grub/extcmd.h>
11
 
 #include <grub/i18n.h>
12
 
+#include <grub/term.h>
13
 
 
14
 
 static const struct grub_arg_option options[] =
15
 
   {
16
 
@@ -106,6 +106,8 @@ grub_cmd_echo (grub_extcmd_t cmd, int ar
17
 
   if (newline)
18
 
     grub_printf ("\n");
19
 
 
20
 
+  grub_refresh ();  
21
 
+
22
 
   return 0;
23
 
 }
24
 
 
25
 
 
26
 
--- a/normal/menu.c     2010-07-02 17:35:07 +0000
27
 
+++ b/normal/menu.c     2010-11-30 14:32:13 +0000
28
 
@@ -45,6 +45,7 @@ grub_wait_after_message (void)
29
 
 {
30
 
   grub_xputs ("\n");
31
 
   grub_printf_ (N_("Press any key to continue..."));
32
 
+  grub_refresh ();
33
 
   (void) grub_getkey ();
34
 
   grub_xputs ("\n");
35
 
 }
36