grub2/0295-blscfg-Fix-typo-for-gfxpayload-variable-name.patch
Javier Martinez Canillas d1ac398c52
A couple of BLS fixes
99-grub-mkconfig: Also disable BLS usage for Xen Dom0 hosts
  Resolves: rhbz#1761799
blscfg: Fix typo for gfxpayload variable name
  Resolves: rhbz#1706489

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2019-10-16 12:25:29 +02:00

28 lines
956 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Javier Martinez Canillas <javierm@redhat.com>
Date: Wed, 16 Oct 2019 12:16:32 +0200
Subject: [PATCH] blscfg: Fix typo for gfxpayload variable name
There was a silly typo when setting the environment variable gfxpayload so
graphics mode wouldn't be preserved on some machines leading to text mode.
Resolves: rhbz#1706489
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
---
grub-core/commands/blscfg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grub-core/commands/blscfg.c b/grub-core/commands/blscfg.c
index 26dbe873fe4..8c6dd91be10 100644
--- a/grub-core/commands/blscfg.c
+++ b/grub-core/commands/blscfg.c
@@ -822,7 +822,7 @@ static void create_entry (struct bls_entry *entry)
}
src = grub_xasprintf ("load_video\n"
- "set gfx_payload=keep\n"
+ "set gfxpayload=keep\n"
"insmod gzio\n"
"linux %s%s%s%s\n"
"%s",