Skip to content

Confusing and invalid conditional appends

Michal Sieron openembedded-devel 1 version In review

Get series with b4
b4 am [email protected] change-id 20260329-fix-confusing-appends-eada2ec9ac4a

Versions newest first

  1. v1 Latest13 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13meta-python: Convert confusing appends to override syntaxmeta-python/recipes-devtools/python/python3-astroid_4.1.2.bb meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb meta-python/recipes-devtools/python/python3-msgpack_1.1.2.bb +6 more+10 -100 replies
2/13gnome-bluetooth3: Fix RRECOMMENS typometa-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth3_3.34.5.bb+1 -10 replies
3/13aufs-util: Convert confusing append to override syntaxmeta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb+1 -10 replies
4/13accountsservice: Convert confusing append to override syntaxmeta-gnome/recipes-support/accountsservice/accountsservice_23.13.9.bb+1 -10 replies
5/13pipewire: Convert confusing appends to override syntaxmeta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.2.bb+1 -10 replies
6/13postfix: Convert confusing appends to override syntaxmeta-networking/recipes-daemons/postfix/postfix_3.10.8.bb+2 -20 replies
7/13libgusb: Convert confusing append to assignmentmeta-oe/recipes-support/libgusb/libgusb_0.4.9.bb+1 -10 replies
8/13postgresql: Fix append overriding valuemeta-oe/recipes-dbs/postgresql/postgresql.inc+1 -10 replies
9/13graphviz: Fix append overriding valuemeta-oe/recipes-graphics/graphviz/graphviz_14.1.4.bb+1 -10 replies
10/13syzkaller: Drop qemu-system-native dependencymeta-oe/recipes-test/syzkaller/syzkaller_git.bb+0 -42 replies
11/13syzkaller: Fix appends overriding valuesmeta-oe/recipes-test/syzkaller/syzkaller-licenses.inc+2 -20 replies
12/13pcsc-lite: Convert confusing append to override syntaxmeta-oe/recipes-support/pcsc-lite/pcsc-lite_2.0.3.bb+1 -10 replies
13/13flatbuffers: Convert confusing append to override syntaxmeta-oe/recipes-devtools/flatbuffers/flatbuffers.bb+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/13] Confusing and invalid conditional appends

This patchset fixes several findings for variable assignments of form:

    A:someoverride += "foo"

and transforms them into:
A:append:someoverride = " foo"

It is a continuation of similar changes in openembedded-core [1], which are currently in master-next.

In most of those cases I assume the original intent was to have a conditional append, but what was actually happening was append to a conditional override.

Changes I made, which weren't simple syntax conversions:
1. gnome-bluetooth3 - typo fix
2. libgusb - invalid append changed to actual assignment (like libffi in openembedded-core)
3. postgresql - here EXTRA_OECONF's value was being overridden
4. graphviz - value was overridden, but shouldn't have impact
5. syzkaller - dropping qemu-system-native dependency

[1]: https://lists.openembedded.org/g/openembedded-core/message/233335

---
Michal Sieron (13):
meta-python: Convert confusing appends to override syntax
gnome-bluetooth3: Fix RRECOMMENS typo
aufs-util: Convert confusing append to override syntax
accountsservice: Convert confusing append to override syntax
pipewire: Convert confusing appends to override syntax
postfix: Convert confusing appends to override syntax
libgusb: Convert confusing append to assignment
postgresql: Fix append overriding value
graphviz: Fix append overriding value
syzkaller: Drop qemu-system-native dependency
syzkaller: Fix appends overriding values
pcsc-lite: Convert confusing append to override syntax
flatbuffers: Convert confusing append to override syntax

 meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb             | 2 +-
 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth3_3.34.5.bb   | 2 +-
 meta-gnome/recipes-support/accountsservice/accountsservice_23.13.9.bb | 2 +-
 meta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.2.bb         | 2 +-
 meta-networking/recipes-daemons/postfix/postfix_3.10.8.bb             | 4 ++--
 meta-oe/recipes-dbs/postgresql/postgresql.inc                         | 2 +-
 meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb                   | 2 +-
 meta-oe/recipes-graphics/graphviz/graphviz_14.1.4.bb                  | 2 +-
 meta-oe/recipes-support/libgusb/libgusb_0.4.9.bb                      | 2 +-
 meta-oe/recipes-support/pcsc-lite/pcsc-lite_2.0.3.bb                  | 2 +-
 meta-oe/recipes-test/syzkaller/syzkaller-licenses.inc                 | 4 ++--
 meta-oe/recipes-test/syzkaller/syzkaller_git.bb                       | 4 ----
 meta-python/recipes-devtools/python/python3-astroid_4.1.2.bb          | 4 ++--
 meta-python/recipes-devtools/python/python3-humanfriendly_10.0.bb     | 2 +-
 meta-python/recipes-devtools/python/python3-msgpack_1.1.2.bb          | 2 +-
 meta-python/recipes-devtools/python/python3-progress_1.6.1.bb         | 2 +-
 meta-python/recipes-devtools/python/python3-wrapt_2.1.2.bb            | 2 +-
 meta-python/recipes-devtools/python/python3-yamlloader_1.6.0.bb       | 2 +-
 meta-python/recipes-devtools/python/python3-zopeinterface_8.2.bb      | 2 +-
 .../recipes-extended/python-pyparted/python3-pyparted_3.13.0.bb       | 2 +-
 meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.1.bb | 2 +-
 21 files changed, 23 insertions(+), 27 deletions(-)

---
base-commit: c3c094cf8d8df28c7db0f44890e092aee395cb99
change-id: 20260329-fix-confusing-appends-eada2ec9ac4a

Best regards,

Signature · 1 line
Michal Sieron <[email protected]>