make use of the default packages and finer granular subdivision.

Signed-off-by: Michael Haener <[email protected]>
---
 recipes-bsp/efibootguard/efibootguard_0.10.bb | 28 +++++++++++--------
 1 file changed, 17 insertions(+), 11 deletions(-)

diff --git a/recipes-bsp/efibootguard/efibootguard_0.10.bb 
b/recipes-bsp/efibootguard/efibootguard_0.10.bb
index f25a67e..45a67c5 100644
--- a/recipes-bsp/efibootguard/efibootguard_0.10.bb
+++ b/recipes-bsp/efibootguard/efibootguard_0.10.bb
@@ -23,28 +23,34 @@ inherit autotools deploy pkgconfig
 
 COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
 
-PACKAGES = "${PN}-tools-dbg \
-            ${PN}-tools-staticdev \
-            ${PN}-tools-dev \
-            ${PN}-tools \
-            ${PN}"
+PACKAGES =+ " \
+    ${PN}-tools \
+    ${PN}-tools-bash-completion \
+    ${PN}-tools-zsh-completion \
+"
 
 EXTRA_OECONF = "--with-gnuefi-sys-dir=${STAGING_DIR_HOST} \
                 --with-gnuefi-include-dir=${STAGING_INCDIR}/efi \
                 --with-gnuefi-lib-dir=${STAGING_LIBDIR}"
 
+FILES_${PN}-tools-bash-completion = " \
+    ${datadir}/${BPN}/completion/bash \
+"
+RDEPENDS_${PN}-tools-bash-completion = "bash-completion"
+
+FILES_${PN}-tools-zsh-completion = " \
+    ${datadir}/${BPN}/completion/zsh \
+"
+
 FILES:${PN}-tools = " \
     ${bindir} \
-    ${target_datadir}/${BPN}/completion/* \
 "
-FILES:${PN}-tools-dbg = "/usr/src/debug ${bindir}/.debug /usr/lib/debug"
-FILES:${PN}-tools-staticdev = "${libdir}/lib*.a"
-FILES:${PN}-tools-dev = " \
+FILES:${PN}-staticdev = "${libdir}/lib*.a"
+FILES:${PN}-dev = " \
     ${includedir}/${BPN} \
     ${libdir}/libebgenv.so \
 "
-FILES:${PN} = " \
-    ${libdir}/${BPN} \
+FILES:${PN} += " \
     ${libdir}/libebgenv-${PV}*.so \
 "
 
-- 
2.34.1

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/20220308194325.2292841-1-michael.haener%40siemens.com.

Reply via email to