@@ -249,10 +249,12 @@
]
},
"selftest" : {
- "MACHINE" : "qemux86-64",
+ "MACHINE" : "unset",
+ "DISTRO" : "unset",
"PACKAGE_CLASSES" : "package_rpm",
"extravars" : [
"RPM_GPG_SIGN_CHUNK = '1'",
+ "DISTRO = 'poky'",
"IMAGE_INSTALL:append = ' ssh-pregen-hostkeys'"
],
"step1" : {
@@ -1150,27 +1152,61 @@
]
},
"oe-selftest" : {
- "TEMPLATE" : "selftest"
+ "TEMPLATE" : "selftest",
+ "step2" : {
+ "extravars" : [
+ "MACHINE = 'qemux86-64'"
+ ]
+ }
},
"oe-selftest-ubuntu" : {
- "TEMPLATE" : "selftest"
+ "TEMPLATE" : "selftest",
+ "step2" : {
+ "extravars" : [
+ "MACHINE = 'qemux86-64'"
+ ]
+ }
},
"oe-selftest-debian" : {
- "TEMPLATE" : "selftest"
+ "TEMPLATE" : "selftest",
+ "step2" : {
+ "extravars" : [
+ "MACHINE = 'qemux86-64'"
+ ]
+ }
},
"oe-selftest-fedora" : {
- "TEMPLATE" : "selftest"
+ "TEMPLATE" : "selftest",
+ "step2" : {
+ "extravars" : [
+ "MACHINE = 'qemux86-64'"
+ ]
+ }
},
"oe-selftest-opensuse" : {
- "TEMPLATE" : "selftest"
+ "TEMPLATE" : "selftest",
+ "step2" : {
+ "extravars" : [
+ "MACHINE = 'qemux86-64'"
+ ]
+ }
},
"oe-selftest-centos" : {
- "TEMPLATE" : "selftest"
+ "TEMPLATE" : "selftest",
+ "step2" : {
+ "extravars" : [
+ "MACHINE = 'qemux86-64'"
+ ]
+ }
},
"oe-selftest-armhost" : {
- "MACHINE": "qemuarm64",
"SDKMACHINE": "aarch64",
- "TEMPLATE" : "selftest"
+ "TEMPLATE" : "selftest",
+ "step2" : {
+ "extravars" : [
+ "MACHINE = 'qemuarm64'"
+ ]
+ }
},
"reproducible" : {
"TEMPLATE" : "reproducible"
@@ -65,6 +65,9 @@ machine = utils.getconfigvar("MACHINE", ourconfig, args.target, stepnum)
distro = utils.getconfigvar("DISTRO", ourconfig, args.target, stepnum)
def enable_fragment(fragment):
+ if fragment.endswith("/unset"):
+ return
+
cmd = ". ./init-build-env; bitbake-config-build enable-fragment %s" % fragment
cmdpath = args.builddir
oe-selftest relies on being able to set the MACHINE/DISTRO from configuration or the environment. Therefore disable the fragments for this test for now until we can find a better solution. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- config.json | 54 ++++++++++++++++++++++++++++++++++++-------- scripts/setup-config | 3 +++ 2 files changed, 48 insertions(+), 9 deletions(-)