[bitbake-devel] [PATCH] data_smart: Avoid expanding anonymous python functions

Richard Purdie richard.purdie at linuxfoundation.org
Tue Feb 2 13:55:08 UTC 2016


We don't expand anonymous python before execution, so nor should
we do this when calculating checksums for them.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index 66cb845..78033d7 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -962,7 +962,7 @@ class DataSmart(MutableMapping):
 
             if key == "__BBANONFUNCS":
                 for i in bb_list:
-                    value = d.getVar(i, True) or ""
+                    value = d.getVar(i, False) or ""
                     data.update({i:value})
 
         data_str = str([(k, data[k]) for k in sorted(data.keys())])





More information about the bitbake-devel mailing list