diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-11-25 15:28:52 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-12-02 09:16:17 +0100 |
commit | efd3696e70a6603f1a45faa4a172433514f0a487 (patch) | |
tree | b72751ba93b050391db05a8e1be7506836b6d515 /meta-oe/recipes-support/openldap | |
parent | 761639b9d7681c81dd69eaf3a37c32791d6e97fd (diff) | |
download | meta-openembedded-efd3696e70a6603f1a45faa4a172433514f0a487.tar.gz |
remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.
Search made with the following regex: getVar ?\(( ?[^,()]*), True\)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Diffstat (limited to 'meta-oe/recipes-support/openldap')
-rw-r--r-- | meta-oe/recipes-support/openldap/openldap_2.4.44.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.44.bb b/meta-oe/recipes-support/openldap/openldap_2.4.44.bb index 05ffc5ce3..645a5179c 100644 --- a/meta-oe/recipes-support/openldap/openldap_2.4.44.bb +++ b/meta-oe/recipes-support/openldap/openldap_2.4.44.bb | |||
@@ -242,7 +242,7 @@ python populate_packages_prepend () { | |||
242 | d.setVar('ALLOW_EMPTY_' + metapkg, "1") | 242 | d.setVar('ALLOW_EMPTY_' + metapkg, "1") |
243 | d.setVar('FILES_' + metapkg, "") | 243 | d.setVar('FILES_' + metapkg, "") |
244 | metapkg_rdepends = [] | 244 | metapkg_rdepends = [] |
245 | packages = d.getVar('PACKAGES', 1).split() | 245 | packages = d.getVar('PACKAGES').split() |
246 | for pkg in packages[1:]: | 246 | for pkg in packages[1:]: |
247 | if pkg.count("openldap-backend-") and not pkg in metapkg_rdepends and not pkg.count("-dev") and not pkg.count("-dbg") and not pkg.count("static") and not pkg.count("locale"): | 247 | if pkg.count("openldap-backend-") and not pkg in metapkg_rdepends and not pkg.count("-dev") and not pkg.count("-dbg") and not pkg.count("static") and not pkg.count("locale"): |
248 | metapkg_rdepends.append(pkg) | 248 | metapkg_rdepends.append(pkg) |