diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/toaster.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass index 55d0d28157..eeca9dedd2 100644 --- a/meta/classes/toaster.bbclass +++ b/meta/classes/toaster.bbclass | |||
@@ -162,7 +162,7 @@ python toaster_image_dumpdata() { | |||
162 | import stat | 162 | import stat |
163 | artifact_path = os.path.join(dirpath, fn) | 163 | artifact_path = os.path.join(dirpath, fn) |
164 | filestat = os.stat(artifact_path) | 164 | filestat = os.stat(artifact_path) |
165 | if stat.S_ISREG(filestat.st_mode): | 165 | if not os.path.islink(artifact_path): |
166 | artifact_info_data[artifact_path] = filestat.st_size | 166 | artifact_info_data[artifact_path] = filestat.st_size |
167 | except OSError as e: | 167 | except OSError as e: |
168 | bb.event.fire(bb.event.MetadataEvent("OSErrorException", e), d) | 168 | bb.event.fire(bb.event.MetadataEvent("OSErrorException", e), d) |