diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-09-12 01:32:08 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-14 22:22:07 +0100 |
commit | 02e6c1e5203190a3f6e1378dfdd1d15332a7ecfe (patch) | |
tree | 453c4ace0a1fcfa7f0b661fd7d377bb189eb2b2d /meta/classes/image.bbclass | |
parent | b8e2bab119be251e3a3395dc55cf25b32504272c (diff) | |
download | poky-02e6c1e5203190a3f6e1378dfdd1d15332a7ecfe.tar.gz |
meta: cleanup d.getVar(var, 0)
(From OE-Core rev: 33b0d940b09a5ce1462476614213a58d3d62e80d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 2 |
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 () { | |||
359 | # Without de-duplication, gen_conversion_cmds() below | 359 | # Without de-duplication, gen_conversion_cmds() below |
360 | # would create the same compression command multiple times. | 360 | # would create the same compression command multiple times. |
361 | ctypes = set(d.getVar('CONVERSIONTYPES', True).split()) | 361 | ctypes = set(d.getVar('CONVERSIONTYPES', True).split()) |
362 | old_overrides = d.getVar('OVERRIDES', 0) | 362 | old_overrides = d.getVar('OVERRIDES', False) |
363 | 363 | ||
364 | def _image_base_type(type): | 364 | def _image_base_type(type): |
365 | basetype = type | 365 | basetype = type |