Use the class available for bash compleition to simplify the recipe.

Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org>
---
 meta/recipes-gnome/libsecret/libsecret_0.21.6.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-gnome/libsecret/libsecret_0.21.6.bb 
b/meta/recipes-gnome/libsecret/libsecret_0.21.6.bb
index e99201228a0..4d801105fa8 100644
--- a/meta/recipes-gnome/libsecret/libsecret_0.21.6.bb
+++ b/meta/recipes-gnome/libsecret/libsecret_0.21.6.bb
@@ -24,8 +24,7 @@ PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 
'pam', d)}"
 PACKAGECONFIG[manpages] = "-Dmanpage=true,-Dmanpage=false,libxslt-native 
xmlto-native"
 PACKAGECONFIG[pam] = "-Dpam=true,-Dpam=false,libpam"
 
-PACKAGES += " ${PN}-bash-completion"
-FILES:${PN}-bash-completion += " 
${datadir}/bash-completion/completions/secret-tool"
+inherit bash-completion
 
 # http://errors.yoctoproject.org/Errors/Details/20228/
 ARM_INSTRUCTION_SET:armv4 = "arm"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#211101): 
https://lists.openembedded.org/g/openembedded-core/message/211101
Mute This Topic: https://lists.openembedded.org/mt/111104826/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to