summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-04 13:57:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-04 20:45:41 +0100
commit34cc76ff05b0c2224f3d6f98bba847d4c5736827 (patch)
treebb4e1811613c1e5c607e268517cb8b6d3ea947d4 /meta/classes/image.bbclass
parentab0cba34119a53512f2abf2ef3a5fe4572d1c50b (diff)
downloadpoky-34cc76ff05b0c2224f3d6f98bba847d4c5736827.tar.gz
image/image_types: Convert CONVERSION_CMD/COMPRESS_CMD to new override syntax
For consistency, use override syntax for these variables as well since it is more consistent with the rest of the image code. We may be able to use these as proper overrides in due course. (From OE-Core rev: 52674c4b1fdf79829095031b2e342d44fb0dc181) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 0321b4f7ae..df34c7884c 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -457,11 +457,11 @@ python () {
457 # Create input image first. 457 # Create input image first.
458 gen_conversion_cmds(type) 458 gen_conversion_cmds(type)
459 localdata.setVar('type', type) 459 localdata.setVar('type', type)
460 cmd = "\t" + (localdata.getVar("CONVERSION_CMD_" + ctype) or localdata.getVar("COMPRESS_CMD_" + ctype)) 460 cmd = "\t" + (localdata.getVar("CONVERSION_CMD:" + ctype) or localdata.getVar("COMPRESS_CMD:" + ctype))
461 if cmd not in cmds: 461 if cmd not in cmds:
462 cmds.append(cmd) 462 cmds.append(cmd)
463 vardeps.add('CONVERSION_CMD_' + ctype) 463 vardeps.add('CONVERSION_CMD:' + ctype)
464 vardeps.add('COMPRESS_CMD_' + ctype) 464 vardeps.add('COMPRESS_CMD:' + ctype)
465 subimage = type + "." + ctype 465 subimage = type + "." + ctype
466 if subimage not in subimages: 466 if subimage not in subimages:
467 subimages.append(subimage) 467 subimages.append(subimage)