<div dir="ltr">Running e.g. bitbake -e busybox with latest oe-core triggers this badly looking exception:<div><br></div><div>Can we add some weak assignment for people who don&#39;t care about wic or core-image-tiny-initramfs to continue using oe-core?</div><div><br></div><div><div>ERROR: ExpansionError during parsing /OE/oe-core/meta/recipes-core/images/<a href="http://core-image-tiny-initramfs.bb">core-image-tiny-initramfs.bb</a></div><div>Traceback (most recent call last):</div><div>  File &quot;/OE/bitbake/lib/bb/data_smart.py&quot;, line 412, in DataSmart.expandWithRefs(s=&#39;\tout=&quot;${IMGDEPLOYDIR}/${IMAGE_NAME}&quot;\n\twks=&quot;${WKS_FULL_PATH}&quot;\n\tif [ -z &quot;$wks&quot; ]; then\n\t\tbbfatal &quot;No kickstart files from WKS_FILES were found: ${WKS_FILES}. Please set WKS_FILE or WKS_FILES appropriately.&quot;\n\tfi\n\n\tBUILDDIR=&quot;${TOPDIR}&quot; wic create &quot;$wks&quot; --vars &quot;${STAGING_DIR}/${MACHINE}/imgdata/&quot; -e &quot;${IMAGE_BASENAME}&quot; -o &quot;$out/&quot; ${WIC_CREATE_EXTRA_ARGS}\n\tmv &quot;$out/$(basename &quot;${wks%.wks}&quot;)&quot;*.direct &quot;$out${IMAGE_NAME_SUFFIX}.wic&quot;\n\trm -rf &quot;$out/&quot;\n&#39;, varname=&#39;IMAGE_CMD&#39;):</div><div>                 try:</div><div>    &gt;                s = __expand_var_regexp__.sub(varparse.var_sub, s)</div><div>                     try:</div><div>  File &quot;/OE/bitbake/lib/bb/data_smart.py&quot;, line 111, in VariableParse.var_sub(match=&lt;_sre.SRE_Match object; span=(43, 59), match=&#39;${WKS_FULL_PATH}&#39;&gt;):</div><div>                 else:</div><div>    &gt;                var = self.d.getVarFlag(key, &quot;_content&quot;)</div><div>                 self.references.add(key)</div><div>  File &quot;/OE/bitbake/lib/bb/data_smart.py&quot;, line 773, in DataSmart.getVarFlag(var=&#39;WKS_FULL_PATH&#39;, flag=&#39;_content&#39;, expand=True, noweakdefault=False, parsing=False):</div><div>                     cachename = var + &quot;[&quot; + flag + &quot;]&quot;</div><div>    &gt;            value = self.expand(value, cachename)</div><div><br></div><div>  File &quot;/OE/bitbake/lib/bb/data_smart.py&quot;, line 436, in DataSmart.expand(s=&quot;${@wks_search(&#39;${WKS_FILES}&#39;.split(), &#39;${WKS_SEARCH_PATH}&#39;) or &#39;&#39;}&quot;, varname=&#39;WKS_FULL_PATH&#39;):</div><div>         def expand(self, s, varname = None):</div><div>    &gt;        return self.expandWithRefs(s, varname).value</div><div><br></div><div>  File &quot;/OE/bitbake/lib/bb/data_smart.py&quot;, line 426, in DataSmart.expandWithRefs(s=&quot;${@wks_search(&#39;directdisk.wks core-image-tiny-initramfs.wks&#39;.split(), &#39;/OE/oe-core/meta/recipes-core/images:${@&#39;:&#39;.join(&#39;%s/wic&#39; % p for p in &#39;/OE:${TMPDIR}:/OE/oe-core/meta&#39;.split(&#39;:&#39;))}:${@&#39;:&#39;.join(&#39;%s/scripts/lib/wic/canned-wks&#39; % l for l in &#39;/OE:${TMPDIR}:/OE/oe-core/meta:/OE/oe-core&#39;.split(&#39;:&#39;))}&#39;) or &#39;&#39;}&quot;, varname=&#39;WKS_FULL_PATH&#39;):</div><div>                 except Exception as exc:</div><div>    &gt;                raise ExpansionError(varname, s, exc) from exc</div><div><br></div><div>bb.data_smart.ExpansionError: Failure expanding variable WKS_FULL_PATH, expression was ${@wks_search(&#39;directdisk.wks core-image-tiny-initramfs.wks&#39;.split(), &#39;/OE/oe-core/meta/recipes-core/images:${@&#39;:&#39;.join(&#39;%s/wic&#39; % p for p in &#39;/OE:${TMPDIR}:/OE/oe-core/meta&#39;.split(&#39;:&#39;))}:${@&#39;:&#39;.join(&#39;%s/scripts/lib/wic/canned-wks&#39; % l for l in &#39;/OE:${TMPDIR}:/OE/oe-core/meta:/OE/oe-core&#39;.split(&#39;:&#39;))}&#39;) or &#39;&#39;} which triggered exception SyntaxError: invalid syntax (WKS_FULL_PATH, line 1)</div></div><div><br></div></div>