diff options
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index b2c74ddf7a..970a9415c1 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -1758,6 +1758,9 @@ class BuildInfoHelper(object): | |||
1758 | 1758 | ||
1759 | for basename in basenames: | 1759 | for basename in basenames: |
1760 | artifact_path = os.path.join(deploy_dir_image, basename) | 1760 | artifact_path = os.path.join(deploy_dir_image, basename) |
1761 | if not os.path.exists(artifact_path): | ||
1762 | logger.warning("artifact %s doesn't exist, skipping" % artifact_path) | ||
1763 | continue | ||
1761 | artifact_size = os.stat(artifact_path).st_size | 1764 | artifact_size = os.stat(artifact_path).st_size |
1762 | 1765 | ||
1763 | # note that the artifact will only be saved against this | 1766 | # note that the artifact will only be saved against this |