summaryrefslogtreecommitdiffstats
path: root/yocto-poky/meta/classes/recipe_sanity.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'yocto-poky/meta/classes/recipe_sanity.bbclass')
-rw-r--r--yocto-poky/meta/classes/recipe_sanity.bbclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/yocto-poky/meta/classes/recipe_sanity.bbclass b/yocto-poky/meta/classes/recipe_sanity.bbclass
index ee04e333d..295611f0f 100644
--- a/yocto-poky/meta/classes/recipe_sanity.bbclass
+++ b/yocto-poky/meta/classes/recipe_sanity.bbclass
@@ -143,9 +143,8 @@ python recipe_sanity_eh () {
cfgdata = {}
for k in d.keys():
- #for k in ["S", "PR", "PV", "PN", "DESCRIPTION", "LICENSE", "DEPENDS",
- # "SECTION"]:
- cfgdata[k] = d.getVar(k, 0)
+ if not isinstance(d.getVar(k, 0), bb.data_smart.DataSmart):
+ cfgdata[k] = d.getVar(k, 0)
d.setVar("__recipe_sanity_cfgdata", cfgdata)
#d.setVar("__recipe_sanity_cfgdata", d)
OpenPOWER on IntegriCloud