Patchwork ptest: Fix dependency/ordering issue

login
register
mail settings
Submitter Richard Purdie
Date Dec. 18, 2013, 5:12 p.m.
Message ID <1387386743.6402.55.camel@ted>
Download mbox | patch
Permalink /patch/63541/
State New
Headers show

Comments

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

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):