ptest: Fix dependency/ordering issue

Submitted by Richard Purdie on Dec. 18, 2013, 5:12 p.m.

Details

Message ID 1387386743.6402.55.camel@ted
State Accepted
Commit 96aa9bf8880088c9a710c86cc8ee106138152a98
Headers show

Commit Message

Richard Purdie Dec. 18, 2013, 5:12 p.m.
We've seen occasional issues on the autobuilder where files appear during
do_populate_sysroot and this is due to the ptest installation happening
in parallel. This fixes the order to be deterministic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch hide | download patch | download mbox

diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index 0ffef95..ec10f80 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -53,7 +53,7 @@  do_install_ptest_base[cleandirs] = "${D}${PTEST_PATH}"
 
 addtask configure_ptest_base after do_configure before do_compile
 addtask compile_ptest_base   after do_compile   before do_install
-addtask install_ptest_base   after do_install   before do_package
+addtask install_ptest_base   after do_install   before do_package do_populate_sysroot
 
 python () {
     if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d):