When setting the EFI_PROVIDER variable two things are expected:
1. A package with the name ${EFI_PROVIDER} exists that is included in
packagegroup-core-boot
2. A bbclass with the name ${EFI_PROVIDER} exists
With the current layer there is a class called efibootguard but the package is
called efibootguard-efi. These do not match.
This renames the base package to efibootguard to match the class name.
This is also in line with how systemd-boot and grub-efi work.
Signed-off-by: Pascal Bach <
pasca...@siemens.com>
---
recipes-bsp/efibootguard/
efibootguard.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes-bsp/efibootguard/
efibootguard.bb b/recipes-bsp/efibootguard/
efibootguard.bb
index 3449fda..7d1081e 100644
--- a/recipes-bsp/efibootguard/
efibootguard.bb
+++ b/recipes-bsp/efibootguard/
efibootguard.bb
@@ -28,7 +28,7 @@ PACKAGES = "${PN}-tools-dbg \
${PN}-tools-staticdev \
${PN}-tools-dev \
${PN}-tools \
- ${PN}-efi"
+ ${PN}"
EXTRA_OECONF = "--with-gnuefi-sys-dir=${STAGING_DIR_HOST} \
--with-gnuefi-include-dir=${STAGING_INCDIR}/efi \
@@ -38,7 +38,7 @@ FILES_${PN}-tools = "${bindir}"
FILES_${PN}-tools-dbg = "/usr/src/debug ${bindir}/.debug /usr/lib/debug"
FILES_${PN}-tools-staticdev = "${libdir}/lib*.a"
FILES_${PN}-tools-dev = "${includedir}/${BPN}"
-FILES_${PN}-efi = "${libdir}/${BPN}"
+FILES_${PN} = "${libdir}/${BPN}"
do_deploy () {
install ${B}/efibootguard*.efi ${DEPLOYDIR}
--
2.11.0