From 919c1daa8f23bba9d8554119dd6ea68efdaddbb0 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 3 Apr 2021 17:31:16 +0200 Subject: [PATCH] blspec: Add /boot/efi and /efi as potential EFI directories According to https://systemd.io/BOOT_LOADER_SPECIFICATION/ the placeholder file system $BOOT should be mounted on /boot or /efi. Additional locations like /boot/efi might also be supported. This is also what systemd's /usr/bin/kernel-install bash script currently supports. Bug: https://github.com/mgorny/eclean-kernel/issues/2 Signed-off-by: Florian Schmaus --- ecleankernel/layout/blspec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecleankernel/layout/blspec.py b/ecleankernel/layout/blspec.py index a4fec8d..7dcfdab 100644 --- a/ecleankernel/layout/blspec.py +++ b/ecleankernel/layout/blspec.py @@ -28,7 +28,7 @@ class BlSpecLayout(ModuleDirLayout): """ name = 'blspec' - potential_dirs = ('boot/EFI', 'boot') + potential_dirs = ('boot/EFI', 'boot/efi', 'boot', 'efi') name_map = { 'initrd': KernelFileType.INITRAMFS,