Michael Halstead
2018-11-10 12:25:32 UTC
Without any sstate available oe-selftest cannot run in parallel. Set sstate to a
location used only by these builds and remove it as the last step.
Signed-off-by: Michael Halstead <***@linuxfoundation.org>
---
config.json | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/config.json b/config.json
index 8a694d7..d898bf3 100644
--- a/config.json
+++ b/config.json
@@ -147,7 +147,7 @@
},
"nightly-bringup" : {
"TEMPLATE" : "nightly-arch",
- "SSTATEDIR" : [],
+ "SSTATEDIR" : ["${BUILDDIR}/../sstate"],
"MACHINE" : "qemuarm64",
"step2" : {
"MACHINE" : "qemux86-64"
@@ -168,6 +168,9 @@
],
"EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; DISPLAY=:1 oe-selftest --skip-tests distrodata.Distrodata.test_checkpkg -j 15"],
"ADDLAYER" : ["${BUILDDIR}/../meta-selftest"]
+ },
+ "step7" : {
+ "EXTRACMDS" : ["rm -rf ${BUILDDIR}/../sstate"]
}
},
"nightly-mips" : {
location used only by these builds and remove it as the last step.
Signed-off-by: Michael Halstead <***@linuxfoundation.org>
---
config.json | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/config.json b/config.json
index 8a694d7..d898bf3 100644
--- a/config.json
+++ b/config.json
@@ -147,7 +147,7 @@
},
"nightly-bringup" : {
"TEMPLATE" : "nightly-arch",
- "SSTATEDIR" : [],
+ "SSTATEDIR" : ["${BUILDDIR}/../sstate"],
"MACHINE" : "qemuarm64",
"step2" : {
"MACHINE" : "qemux86-64"
@@ -168,6 +168,9 @@
],
"EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; DISPLAY=:1 oe-selftest --skip-tests distrodata.Distrodata.test_checkpkg -j 15"],
"ADDLAYER" : ["${BUILDDIR}/../meta-selftest"]
+ },
+ "step7" : {
+ "EXTRACMDS" : ["rm -rf ${BUILDDIR}/../sstate"]
}
},
"nightly-mips" : {
--
2.17.2
--
2.17.2
--