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-networking/recipes-filter | |
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-networking/recipes-filter')
-rw-r--r-- | meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb index e9b726c5f..d24b81bc1 100644 --- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb +++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb | |||
@@ -30,8 +30,8 @@ inherit update-rc.d systemd | |||
30 | python __anonymous () { | 30 | python __anonymous () { |
31 | import re | 31 | import re |
32 | 32 | ||
33 | karch = d.getVar('KARCH', True) | 33 | karch = d.getVar('KARCH') |
34 | multilib = d.getVar('MLPREFIX', True) | 34 | multilib = d.getVar('MLPREFIX') |
35 | 35 | ||
36 | if multilib and karch == 'powerpc64': | 36 | if multilib and karch == 'powerpc64': |
37 | searchstr = "lib.?32" | 37 | searchstr = "lib.?32" |