summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/image.bbclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 9ba60117f6..4542e95d1e 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -402,9 +402,13 @@ python () {
402 # Create input image first. 402 # Create input image first.
403 gen_conversion_cmds(type) 403 gen_conversion_cmds(type)
404 localdata.setVar('type', type) 404 localdata.setVar('type', type)
405 cmds.append("\t" + localdata.getVar("COMPRESS_CMD_" + ctype, True)) 405 cmd = "\t" + localdata.getVar("COMPRESS_CMD_" + ctype, True)
406 if cmd not in cmds:
407 cmds.append(cmd)
406 vardeps.add('COMPRESS_CMD_' + ctype) 408 vardeps.add('COMPRESS_CMD_' + ctype)
407 subimages.append(type + "." + ctype) 409 subimage = type + "." + ctype
410 if subimage not in subimages:
411 subimages.append(subimage)
408 if type not in alltypes: 412 if type not in alltypes:
409 rm_tmp_images.add(localdata.expand("${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}")) 413 rm_tmp_images.add(localdata.expand("${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}"))
410 414