package/mender-grubenv: fix installing on non-efi platforms
authorAdam Duskett <aduskett@gmail.com>
Thu, 13 May 2021 02:00:52 +0000 (19:00 -0700)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 15 May 2021 12:53:09 +0000 (14:53 +0200)
commitbcff1166d43a4cfef135edd91992558eb1044d37
treed0cb821de76c8adafb994048480a78c2e421fcf3
parentbf1925cb97d3a0a34120e5a7a8108b47eb75f7cd
package/mender-grubenv: fix installing on non-efi platforms

Currently, mender-grubenv unconditionally installs files from the
$(TARGET_DIR)/boot/EFI directory to the $(BINARIES_DIR)/efi-part.
This fails on systems that are not building grub against EFI.

Add a check in mender-grubenv.mk to ensure the files are copied to the correct
location if EFI is not selected.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/mender-grubenv/mender-grubenv.mk