diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-04 15:24:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-05 11:52:50 +0000 |
commit | d32dc08a77123517877f355b174606a357f746d5 (patch) | |
tree | f412037ed77b3f2828dfd8a186f9b39d66b4c104 /meta/classes-recipe/update-rc.d.bbclass | |
parent | 47ddb0f26db774495624c9687e11a88d25259cf9 (diff) | |
download | poky-d32dc08a77123517877f355b174606a357f746d5.tar.gz |
recipes/classes: Drop prepend/append usage with PACKAGESPLITFUNCS
As far as I can tell, none of these uses of PACKAGESPLITFUNCS need append/prepend
operators, the standard += and =+ can work just fine. Since OE-Core is copied a lot,
use the preferred syntax which is also simpler to parse and change.
(From OE-Core rev: 846ff49465337dddd75a83161f41f48117f6571c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/update-rc.d.bbclass')
-rw-r--r-- | meta/classes-recipe/update-rc.d.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/update-rc.d.bbclass b/meta/classes-recipe/update-rc.d.bbclass index cb2aaba57c..a61d2c62ab 100644 --- a/meta/classes-recipe/update-rc.d.bbclass +++ b/meta/classes-recipe/update-rc.d.bbclass | |||
@@ -68,7 +68,7 @@ python __anonymous() { | |||
68 | update_rc_after_parse(d) | 68 | update_rc_after_parse(d) |
69 | } | 69 | } |
70 | 70 | ||
71 | PACKAGESPLITFUNCS:prepend = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'populate_packages_updatercd ', '', d)}" | 71 | PACKAGESPLITFUNCS =+ "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'populate_packages_updatercd ', '', d)}" |
72 | PACKAGESPLITFUNCS:remove:class-nativesdk = "populate_packages_updatercd " | 72 | PACKAGESPLITFUNCS:remove:class-nativesdk = "populate_packages_updatercd " |
73 | 73 | ||
74 | populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_postinst" | 74 | populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_postinst" |