diff mbox series

[1/3] libsecret: Inherit bash-completion

Message ID 20250210161406.384031-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit d29577ef719d76d445c88255c4a6dfe61456c3c2
Headers show
Series [1/3] libsecret: Inherit bash-completion | expand

Commit Message

Richard Purdie Feb. 10, 2025, 4:14 p.m. UTC
Use the class available for bash compleition to simplify the recipe.

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

Patch

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"