mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
meta: remove True option to getVarFlag calls
getVarFlag() now defaults to expanding by default, thus remove the True option from getVarFlag() calls with a regex search and replace. Search made with the following regex: getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\) (From OE-Core rev: 2dea9e490a98377010b3d4118d054814c317a735) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c0f2890c01
commit
3c59b1bf93
@@ -19,7 +19,7 @@ def image_buildinfo_outputvars(vars, listvars, d):
|
||||
ret = ""
|
||||
for var in vars:
|
||||
value = d.getVar(var) or ""
|
||||
if (d.getVarFlag(var, 'type', True) == "list"):
|
||||
if (d.getVarFlag(var, 'type') == "list"):
|
||||
value = oe.utils.squashspaces(value)
|
||||
ret += "%s = %s\n" % (var, value)
|
||||
return ret.rstrip('\n')
|
||||
|
||||
Reference in New Issue
Block a user