diff mbox series

[whinlatter,10/67] systemd: use "+=" to set PACKAGE_BEFORE_PN

Message ID 20251213095931.2571498-10-ankur.tyagi85@gmail.com
State Changes Requested
Delegated to: Steve Sakoman
Headers show
Series [whinlatter,01/67] bluez5: upgrade 5.84 -> 5.85 | expand

Commit Message

Ankur Tyagi Dec. 13, 2025, 9:58 a.m. UTC
From: Ming Liu <liu.ming50@gmail.com>

This avoid overridding the original PACKAGE_BEFORE_PN value could be
set in bbclasses.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
(cherry picked from commit 85eb46d62f81a1618b5d16863808a5ddb248fcf3)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
---
 meta/recipes-core/systemd/systemd_257.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ankur Tyagi Dec. 16, 2025, 4:09 p.m. UTC | #1
My recommendation is to include this patch.

On Sat, Dec 13, 2025 at 3:30 PM <ankur.tyagi85@gmail.com> wrote:
>
> From: Ming Liu <liu.ming50@gmail.com>
>
> This avoid overridding the original PACKAGE_BEFORE_PN value could be
> set in bbclasses.
>
> Signed-off-by: Ming Liu <liu.ming50@gmail.com>
> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
> (cherry picked from commit 85eb46d62f81a1618b5d16863808a5ddb248fcf3)
> Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
> ---
>  meta/recipes-core/systemd/systemd_257.8.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/systemd/systemd_257.8.bb b/meta/recipes-core/systemd/systemd_257.8.bb
> index 549eb7fb29..20fe77fb13 100644
> --- a/meta/recipes-core/systemd/systemd_257.8.bb
> +++ b/meta/recipes-core/systemd/systemd_257.8.bb
> @@ -412,7 +412,7 @@ python populate_packages:prepend (){
>  }
>  PACKAGES_DYNAMIC += "^lib(udev|systemd|nss).*"
>
> -PACKAGE_BEFORE_PN = "\
> +PACKAGE_BEFORE_PN += "\
>      ${PN}-analyze \
>      ${PN}-binfmt \
>      ${PN}-container \
diff mbox series

Patch

diff --git a/meta/recipes-core/systemd/systemd_257.8.bb b/meta/recipes-core/systemd/systemd_257.8.bb
index 549eb7fb29..20fe77fb13 100644
--- a/meta/recipes-core/systemd/systemd_257.8.bb
+++ b/meta/recipes-core/systemd/systemd_257.8.bb
@@ -412,7 +412,7 @@  python populate_packages:prepend (){
 }
 PACKAGES_DYNAMIC += "^lib(udev|systemd|nss).*"
 
-PACKAGE_BEFORE_PN = "\
+PACKAGE_BEFORE_PN += "\
     ${PN}-analyze \
     ${PN}-binfmt \
     ${PN}-container \