]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libsecret: Inherit bash-completion
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Feb 2025 15:52:17 +0000 (15:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2025 11:42:23 +0000 (11:42 +0000)
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

index e99201228a01a6dc6e3ef4b1682c64c18d1878d9..4d801105fa853af70c6502d18452851be8429150 100644 (file)
@@ -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"