Skip to content

Commit

Permalink
Changelog: Add alternate EFI path to mender-inventory-bootloader-inte…
Browse files Browse the repository at this point in the history
…gration

Some systems, such as Buildroot, default the EFI partition to /boot/EFI instead
of /boot/efi/EFI. Add the /boot/EFI directory to the
mender-inventory-bootloader-integration script.

Signed-off-by: Adam Duskett <[email protected]>
  • Loading branch information
aduskett committed Feb 8, 2022
1 parent e005a64 commit 945c2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/mender-inventory-bootloader-integration
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Tries to determine which type of bootloader integration has been used for the
# running platform.

if [ -d /boot/efi/EFI/BOOT/mender_grubenv1 ]; then
if [ -d /boot/efi/EFI/BOOT/mender_grubenv1 -o -d /boot/EFI/BOOT/mender_grubenv1 ]; then
case "$(uname -m)" in
arm*|aarch*)
echo mender_bootloader_integration=uboot_uefi_grub
Expand Down

0 comments on commit 945c2c6

Please sign in to comment.