Skip to content

Commit

Permalink
blspec: Add /boot/efi and /efi as potential EFI directories
Browse files Browse the repository at this point in the history
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: #2
Signed-off-by: Florian Schmaus <flo@geekplace.eu>
Closes: #14
Signed-off-by: Michał Górny <mgorny@gentoo.org>
  • Loading branch information
Flowdalic authored and mgorny committed Apr 7, 2021
1 parent 93f109e commit 5aea883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecleankernel/layout/blspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5aea883

Please sign in to comment.