]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
lib_package.bbclass: Use += to add to PACKAGE_BEFORE_PN
authorPeter Kjellerstedt <pkj@axis.com>
Wed, 3 Dec 2025 14:20:38 +0000 (15:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Dec 2025 17:54:25 +0000 (17:54 +0000)
The bash-completion bbclass recently started to use PACKAGE_BEFORE_PN to
add the ${PN}-bash-completion package. This meant that a recipe, e.g.,
proj in meta-oe, that inherits both bash-completion and lib_package
would fail since lib_package set PACKAGE_BEFORE_PN rather than added to
it.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/lib_package.bbclass

index 6d110155e5ac20cd6d09c4c642613860d674439c..2a944268c81fba2171caa7389034204951aae74d 100644 (file)
@@ -9,4 +9,4 @@
 # We need to allow the other packages to be greedy with what they
 # want out of /usr/bin and /usr/sbin before ${PN}-bin gets greedy.
 # 
-PACKAGE_BEFORE_PN = "${PN}-bin"
+PACKAGE_BEFORE_PN += "${PN}-bin"