diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 8bfd24193e..9ba60117f6 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -388,6 +388,10 @@ python () { | |||
388 | bb.fatal("No IMAGE_CMD defined for IMAGE_FSTYPES entry '%s' - possibly invalid type name or missing support class" % t) | 388 | bb.fatal("No IMAGE_CMD defined for IMAGE_FSTYPES entry '%s' - possibly invalid type name or missing support class" % t) |
389 | cmds.append(localdata.expand("\tcd ${DEPLOY_DIR_IMAGE}")) | 389 | cmds.append(localdata.expand("\tcd ${DEPLOY_DIR_IMAGE}")) |
390 | 390 | ||
391 | # Since a copy of IMAGE_CMD_xxx will be inlined within do_image_xxx, | ||
392 | # prevent a redundant copy of IMAGE_CMD_xxx being emitted as a function. | ||
393 | d.delVarFlag('IMAGE_CMD_' + realt, 'func') | ||
394 | |||
391 | rm_tmp_images = set() | 395 | rm_tmp_images = set() |
392 | def gen_conversion_cmds(bt): | 396 | def gen_conversion_cmds(bt): |
393 | for ctype in ctypes: | 397 | for ctype in ctypes: |