From 5aea883cccf6a31bbc3ae1b434a88ec304fda03c 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Closes: https://github.com/mgorny/eclean-kernel/pull/14 Signed-off-by: Michał Górny --- 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,