Here we set DISTRO = "" to test building without setting refkit as
the distro. This requires that we set REFKIT_IMAGE_MODE = "" as well,
since refkit-image-minimal does not define any IMAGE_MODES. This is
normally used to enable features like auto-login or setting public /
private keys.

Signed-off-by: Stephano Cetola <stephano.cet...@linux.intel.com>
---
 buildset-config.controller/nightly-refkit.conf | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/buildset-config.controller/nightly-refkit.conf 
b/buildset-config.controller/nightly-refkit.conf
index 5fdfe4fc7..133eb54fd 100644
--- a/buildset-config.controller/nightly-refkit.conf
+++ b/buildset-config.controller/nightly-refkit.conf
@@ -29,6 +29,17 @@ steps: [{'SetDest':{}},
         {'ScrapeTargets': {'source': 
'refkit/meta-refkit/conf/distro/include/refkit-ci.inc',
                            'targetsvar': 'REFKIT_CI_POSTBUILD_SELFTESTS'}},
         {'RunOeSelftest': {'tests': '#SCRAPEDTARGETS'}},
+        {'CreateAutoConf': {'machine': 'intel-corei7-64', 'packages': 'ipk',
+                            'distro': '', 'buildhistory' : False,
+                            'prserv': False, 'nosstate': True,
+                            'SDKMACHINE' : 'x86_64',
+                            'atextappend': '\nREFKIT_IMAGE_MODE = ""\nrequire 
conf/distro/include/refkit-ci.inc\n'}},
+        {'ModBBLayersConf': {'sub': [['openembedded-core/meta', '#YPDIR/meta'],
+                            ['openembedded-core/meta-selftest',
+                            '#YPDIR/meta-selftest']]}},
+        {'BuildImages': {'images': 'refkit-image-minimal',
+                         'oeinit': 'refkit/oe-init-build-env',
+                         'overrideenv': ['BITBAKEDIR=#YPDIR/bitbake', 
'OEROOT=#YPDIR/meta']}},
         {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}
         ]
-- 
2.13.3

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to