[1.52][PATCH 0/1] Review request
Please review and merge these for 1.52. No problems seen in testing.
Thanks,
Anuj
The following changes since commit 44a83b373e1fc34c93cd4a6c6cf8b73b230c1520:
fetch2: Fix url remap issue and add testcase (2021-11-24 10:08:18 +0000)
are available in the Git repository at:
git://push.openembedded.org/bitbake-contrib stable/1.52-next
Robert Yang (1):
data_smart.py: Skip old override syntax checking for anonymous
functions
lib/bb/data_smart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.33.1
[1.52][PATCH 1/1] data_smart.py: Skip old override syntax checking for anonymous functions
From: Robert Yang <[email protected]>
Fixed when oe-core's path contians append/prepend/remove, e.g.:
/path/to/append_test/oe-core/
Initial a build in any build dirs:
$ bitbake -p ERROR: Variable __anon_32__buildarea2_xhou_builds_append_test_layers_oe_core_meta_classes_patch_bbclass contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake.
The anonymous fuctions has no names, so skip checking for it to fix the issue.
--- lib/bb/data_smart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/data_smart.py +1 -1
@@ -492,7 +492,7 @@ class DataSmart(MutableMapping): def setVar(self, var, value, **loginfo): #print("var=" + str(var) + " val=" + str(value)) - if "_append" in var or "_prepend" in var or "_remove" in var: + if not var.startswith("__anon_") and ("_append" in var or "_prepend" in var or "_remove" in var): info = "%s" % var if "filename" in loginfo: info += " file: %s" % loginfo[filename]
Signature · 1 line
2.33.1