diff options
-rw-r--r-- | meta/classes/image.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 0d14250c0d..20240ba9f0 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -440,6 +440,9 @@ python () { | |||
440 | localdata.delVar('DATETIME') | 440 | localdata.delVar('DATETIME') |
441 | localdata.delVar('DATE') | 441 | localdata.delVar('DATE') |
442 | localdata.delVar('TMPDIR') | 442 | localdata.delVar('TMPDIR') |
443 | vardepsexclude = (d.getVarFlag('IMAGE_CMD_' + realt, 'vardepsexclude', True) or '').split() | ||
444 | for dep in vardepsexclude: | ||
445 | localdata.delVar(dep) | ||
443 | 446 | ||
444 | image_cmd = localdata.getVar("IMAGE_CMD") | 447 | image_cmd = localdata.getVar("IMAGE_CMD") |
445 | vardeps.add('IMAGE_CMD_' + realt) | 448 | vardeps.add('IMAGE_CMD_' + realt) |
@@ -503,7 +506,7 @@ python () { | |||
503 | d.prependVarFlag(task, 'postfuncs', ' create_symlinks') | 506 | d.prependVarFlag(task, 'postfuncs', ' create_symlinks') |
504 | d.appendVarFlag(task, 'subimages', ' ' + ' '.join(subimages)) | 507 | d.appendVarFlag(task, 'subimages', ' ' + ' '.join(subimages)) |
505 | d.appendVarFlag(task, 'vardeps', ' ' + ' '.join(vardeps)) | 508 | d.appendVarFlag(task, 'vardeps', ' ' + ' '.join(vardeps)) |
506 | d.appendVarFlag(task, 'vardepsexclude', 'DATETIME DATE') | 509 | d.appendVarFlag(task, 'vardepsexclude', 'DATETIME DATE ' + ' '.join(vardepsexclude)) |
507 | 510 | ||
508 | bb.debug(2, "Adding task %s before %s, after %s" % (task, 'do_image_complete', after)) | 511 | bb.debug(2, "Adding task %s before %s, after %s" % (task, 'do_image_complete', after)) |
509 | bb.build.addtask(task, 'do_image_complete', after, d) | 512 | bb.build.addtask(task, 'do_image_complete', after, d) |