]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(dracut.sh): include efi mountpoint for hostonly
authordalto8 <57767042+dalto8@users.noreply.github.com>
Sat, 13 Apr 2024 18:39:22 +0000 (18:39 +0000)
committerLaszlo Gombos <laszlo.gombos@gmail.com>
Thu, 18 Apr 2024 17:37:10 +0000 (13:37 -0400)
When the ESP is mounted at /efi on it's own device, support for the underlying device is excluded from the initramfs.

dracut.sh

index 148ef8b019a623336a11852a8590fe821768fdbf..d0e5aa03563c51e79ee58e8d75da0c63af68afe7 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -1662,7 +1662,8 @@ if [[ $hostonly ]] && [[ $hostonly_default_device != "no" ]]; then
         "/usr/lib64" \
         "/boot" \
         "/boot/efi" \
-        "/boot/zipl"; do
+        "/boot/zipl" \
+        "/efi"; do
         mp=$(readlink -f "$dracutsysrootdir$mp")
         mountpoint "$mp" > /dev/null 2>&1 || continue
         _dev=$(find_block_device "$mp")