2021-02-12 08:18:34 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Javier Martinez Canillas <javierm@redhat.com>
|
|
|
|
Date: Tue, 14 May 2019 20:37:44 +0200
|
|
|
|
Subject: [PATCH] Remove bogus load_env after blscfg command in 10_linux
|
|
|
|
|
|
|
|
The grubenv is already loaded in the 00_header snippet, so there's
|
|
|
|
no need to load it anywhere else.
|
|
|
|
|
|
|
|
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
|
|
|
|
---
|
|
|
|
util/grub.d/10_linux.in | 3 ---
|
|
|
|
1 file changed, 3 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
|
2022-02-11 05:27:54 +00:00
|
|
|
index 04fd8953f..58d185047 100644
|
2021-02-12 08:18:34 +00:00
|
|
|
--- a/util/grub.d/10_linux.in
|
|
|
|
+++ b/util/grub.d/10_linux.in
|
|
|
|
@@ -162,9 +162,6 @@ set default_kernelopts="root=${linux_root_device_thisversion} ro ${args}"
|
|
|
|
|
|
|
|
insmod blscfg
|
|
|
|
blscfg
|
|
|
|
-if [ -s \$prefix/grubenv ]; then
|
|
|
|
- load_env
|
|
|
|
-fi
|
|
|
|
EOF
|
|
|
|
|
|
|
|
if [ "x${GRUB_GRUBENV_UPDATE}" = "xyes" ]; then
|