summaryrefslogtreecommitdiff
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-09-12 01:32:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-14 22:20:03 +0100
commit33b0d940b09a5ce1462476614213a58d3d62e80d (patch)
tree98663d98a1829003a6a9a48fccfe0243647bbd99 /meta/classes/image.bbclass
parent79fe476be233015c1c90e9c3fb4572267b5551d1 (diff)
downloadopenembedded-core-33b0d940b09a5ce1462476614213a58d3d62e80d.tar.gz
openembedded-core-33b0d940b09a5ce1462476614213a58d3d62e80d.tar.bz2
openembedded-core-33b0d940b09a5ce1462476614213a58d3d62e80d.zip
meta: cleanup d.getVar(var, 0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 8c8b8a2bf2..8273401e50 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -359,7 +359,7 @@ python () {
# Without de-duplication, gen_conversion_cmds() below
# would create the same compression command multiple times.
ctypes = set(d.getVar('CONVERSIONTYPES', True).split())
- old_overrides = d.getVar('OVERRIDES', 0)
+ old_overrides = d.getVar('OVERRIDES', False)
def _image_base_type(type):
basetype = type