mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
@@ -457,11 +457,11 @@ python () {
|
||||
# Create input image first.
|
||||
gen_conversion_cmds(type)
|
||||
localdata.setVar('type', type)
|
||||
cmd = "\t" + (localdata.getVar("CONVERSION_CMD_" + ctype) or localdata.getVar("COMPRESS_CMD_" + ctype))
|
||||
cmd = "\t" + (localdata.getVar("CONVERSION_CMD:" + ctype) or localdata.getVar("COMPRESS_CMD:" + ctype))
|
||||
if cmd not in cmds:
|
||||
cmds.append(cmd)
|
||||
vardeps.add('CONVERSION_CMD_' + ctype)
|
||||
vardeps.add('COMPRESS_CMD_' + ctype)
|
||||
vardeps.add('CONVERSION_CMD:' + ctype)
|
||||
vardeps.add('COMPRESS_CMD:' + ctype)
|
||||
subimage = type + "." + ctype
|
||||
if subimage not in subimages:
|
||||
subimages.append(subimage)
|
||||
|
||||
Reference in New Issue
Block a user