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-alternatives.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-alternatives.bbclass')
-rw-r--r-- | meta/classes-recipe/update-alternatives.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/update-alternatives.bbclass b/meta/classes-recipe/update-alternatives.bbclass index 970d9bcd45..ec81763c89 100644 --- a/meta/classes-recipe/update-alternatives.bbclass +++ b/meta/classes-recipe/update-alternatives.bbclass | |||
@@ -265,7 +265,7 @@ def update_alternatives_alt_targets(d, pkg): | |||
265 | 265 | ||
266 | return updates | 266 | return updates |
267 | 267 | ||
268 | PACKAGESPLITFUNCS:prepend = "populate_packages_updatealternatives " | 268 | PACKAGESPLITFUNCS =+ "populate_packages_updatealternatives " |
269 | 269 | ||
270 | python populate_packages_updatealternatives () { | 270 | python populate_packages_updatealternatives () { |
271 | if not update_alternatives_enabled(d): | 271 | if not update_alternatives_enabled(d): |