mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +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
@@ -462,7 +462,7 @@ def get_package_additional_metadata (pkg_type, d):
|
||||
if d.getVar(key, False) is None:
|
||||
continue
|
||||
d.setVarFlag(key, "type", "list")
|
||||
if d.getVarFlag(key, "separator", True) is None:
|
||||
if d.getVarFlag(key, "separator") is None:
|
||||
d.setVarFlag(key, "separator", "\\n")
|
||||
metadata_fields = [field.strip() for field in oe.data.typed_value(key, d)]
|
||||
return "\n".join(metadata_fields).strip()
|
||||
@@ -1963,7 +1963,7 @@ python package_depchains() {
|
||||
|
||||
for suffix in pkgs:
|
||||
for pkg in pkgs[suffix]:
|
||||
if d.getVarFlag('RRECOMMENDS_' + pkg, 'nodeprrecs', True):
|
||||
if d.getVarFlag('RRECOMMENDS_' + pkg, 'nodeprrecs'):
|
||||
continue
|
||||
(base, func) = pkgs[suffix][pkg]
|
||||
if suffix == "-dev":
|
||||
|
||||
Reference in New Issue
Block a user