diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-20 11:16:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-21 12:37:53 +0000 |
commit | 1ff64a7e848dcdd540e1c60acec1d0ad80a642bb (patch) | |
tree | 2f5b7cbd7ec310a06969bcacf081145a6d96dd71 | |
parent | e2f68c0233f6a86f017bacf1ff445d13f3c10dc5 (diff) | |
download | poky-1ff64a7e848dcdd540e1c60acec1d0ad80a642bb.tar.gz |
image: Avoid race over directory creation
There is a race over the do_package_qa task and the do_rootfs task
since rootfs recreates a directory. This patch disables the task
(which isn't used for images) to avoid the race:
NOTE: recipe core-image-minimal-1.0-r0: task do_package_qa: Started
NOTE: recipe core-image-minimal-1.0-r0: task do_rootfs: Started
ERROR: Build of do_package_qa failed
ERROR: Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/bitbake/lib/bb/build.py", line 497, in exec_task
return _exec_task(fn, task, d, quieterr)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/bitbake/lib/bb/build.py", line 440, in _exec_task
exec_func(func, localdata)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/bitbake/lib/bb/build.py", line 212, in exec_func
exec_func_python(func, d, runfile, cwd=adir)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/bitbake/lib/bb/build.py", line 237, in exec_func_python
os.chdir(cwd)
OSError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips/build/build/tmp/work/qemumips-poky-linux/core-image-minimal/1.0-r0/core-image-minimal-1.0'
(From OE-Core rev: 0550d112ad9c2ca9f8167dcae35200210923f2c5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/image.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 82e977ce0d..832c7384c6 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -409,6 +409,7 @@ do_compile[noexec] = "1" | |||
409 | do_install[noexec] = "1" | 409 | do_install[noexec] = "1" |
410 | do_populate_sysroot[noexec] = "1" | 410 | do_populate_sysroot[noexec] = "1" |
411 | do_package[noexec] = "1" | 411 | do_package[noexec] = "1" |
412 | do_package_qa[noexec] = "1" | ||
412 | do_packagedata[noexec] = "1" | 413 | do_packagedata[noexec] = "1" |
413 | do_package_write_ipk[noexec] = "1" | 414 | do_package_write_ipk[noexec] = "1" |
414 | do_package_write_deb[noexec] = "1" | 415 | do_package_write_deb[noexec] = "1" |