diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/buildstats.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/buildstats.bbclass b/meta/classes/buildstats.bbclass index 2d63589e4b..34ecb03861 100644 --- a/meta/classes/buildstats.bbclass +++ b/meta/classes/buildstats.bbclass | |||
@@ -167,6 +167,8 @@ python run_buildstats () { | |||
167 | f.write("Uncompressed Rootfs size: %s" % rootfs_size) | 167 | f.write("Uncompressed Rootfs size: %s" % rootfs_size) |
168 | 168 | ||
169 | elif isinstance(e, bb.build.TaskFailed): | 169 | elif isinstance(e, bb.build.TaskFailed): |
170 | # Can have a failure before TaskStarted so need to mkdir here too | ||
171 | bb.utils.mkdirhier(taskdir) | ||
170 | write_task_data("failed", os.path.join(taskdir, e.task), e, d) | 172 | write_task_data("failed", os.path.join(taskdir, e.task), e, d) |
171 | ######################################################################## | 173 | ######################################################################## |
172 | # Lets make things easier and tell people where the build failed in | 174 | # Lets make things easier and tell people where the build failed in |