]> git.proxmox.com Git - grub2.git/blob - debian/patches/ieee1275-clear-reset.patch
Install arm64 signed images if UEFI Secure Boot is enabled (closes: #806178).
[grub2.git] / debian / patches / ieee1275-clear-reset.patch
1 From b53df876c463a5479344715896985e1d1d91971f Mon Sep 17 00:00:00 2001
2 From: Paulo Flabiano Smorigo <pfsmorigo@linux.vnet.ibm.com>
3 Date: Thu, 25 Sep 2014 18:41:29 -0300
4 Subject: Include a text attribute reset in the clear command for ppc
5
6 Always clear text attribute for clear command in order to avoid problems
7 after it boots.
8
9 * grub-core/term/terminfo.c: Add escape for text attribute reset
10
11 Bug-Ubuntu: https://bugs.launchpad.net/bugs/1295255
12 Origin: other, https://lists.gnu.org/archive/html/grub-devel/2014-09/msg00076.html
13 Last-Update: 2014-09-26
14
15 Patch-Name: ieee1275-clear-reset.patch
16 ---
17 grub-core/term/terminfo.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 diff --git a/grub-core/term/terminfo.c b/grub-core/term/terminfo.c
21 index 3d48b19..0825ca2 100644
22 --- a/grub-core/term/terminfo.c
23 +++ b/grub-core/term/terminfo.c
24 @@ -151,7 +151,7 @@ grub_terminfo_set_current (struct grub_term_output *term,
25 /* Clear the screen. Using serial console, screen(1) only recognizes the
26 * ANSI escape sequence. Using video console, Apple Open Firmware
27 * (version 3.1.1) only recognizes the literal ^L. So use both. */
28 - data->cls = grub_strdup ("\f\e[2J");
29 + data->cls = grub_strdup ("\f\e[2J\e[m");
30 data->reverse_video_on = grub_strdup ("\e[7m");
31 data->reverse_video_off = grub_strdup ("\e[m");
32 if (grub_strcmp ("ieee1275", str) == 0)