From: Peter Kjellerstedt Date: Wed, 3 Dec 2025 14:20:38 +0000 (+0100) Subject: lib_package.bbclass: Use += to add to PACKAGE_BEFORE_PN X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daf5a6607ff973288304b0908836277bc3bb0458;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git lib_package.bbclass: Use += to add to PACKAGE_BEFORE_PN 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/lib_package.bbclass b/meta/classes-recipe/lib_package.bbclass index 6d110155e5..2a944268c8 100644 --- a/meta/classes-recipe/lib_package.bbclass +++ b/meta/classes-recipe/lib_package.bbclass @@ -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"