aa0848
From 5c9bf430dfa9ad75fedf342a4a2be88fa31cd309 Mon Sep 17 00:00:00 2001
aa0848
From: Michal Sekletar <msekleta@redhat.com>
aa0848
Date: Thu, 17 Mar 2022 12:37:57 +0100
aa0848
Subject: [PATCH] Revert "kernel-install: prefer /boot over /boot/efi for
aa0848
 $BOOT_ROOT"
aa0848
aa0848
This reverts commit d0e98b7a1211412dccfcf4dcd2cc0772ac70b304.
aa0848
aa0848
Related: #2065061
aa0848
aa0848
[msekleta: this revert is done in order to make backporting easier,
aa0848
patch will be reapplied later.]
aa0848
---
aa0848
 src/kernel-install/kernel-install | 2 +-
aa0848
 1 file changed, 1 insertion(+), 1 deletion(-)
aa0848
aa0848
diff --git a/src/kernel-install/kernel-install b/src/kernel-install/kernel-install
aa0848
index d85852532b..b358b03b2f 100755
aa0848
--- a/src/kernel-install/kernel-install
aa0848
+++ b/src/kernel-install/kernel-install
aa0848
@@ -108,7 +108,7 @@ fi
aa0848
 [ -z "$MACHINE_ID" ] && MACHINE_ID="Default"
aa0848
 
aa0848
 [ -z "$BOOT_ROOT" ] && for suff in "$MACHINE_ID" "loader/entries"; do
aa0848
-    for pref in "/efi" "/boot" "/boot/efi" ; do
aa0848
+    for pref in "/efi" "/boot/efi" "/boot"; do
aa0848
         if [ -d "$pref/$suff" ]; then
aa0848
             BOOT_ROOT="$pref"
aa0848
             break 2