In order to test the meta-refkit-core layer we need to remove any
layers not required to build refkit-image-minimal and set the distro
equal to something other than refkit. We also do not want to use the
refkit templateconf. Here, we remove the config files from the
previous build and regenerate them with distro = poky, calling
oe-init inside poky rather than inside refkit. The only layers we
need to add for refkit are "core" and "meta-intel".

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..187c1b117 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'}},
+        {'RemoveTmpFiles': {'files': 'build/conf'}},
+        {'RunPreamble': {}},
+        {'GetDistroVersion' : {'distro': 'poky'}},
+        {'CreateAutoConf': {'machine': 'intel-corei7-64', 'packages': 'ipk',
+                            'distro': 'poky', 'buildhistory' : False,
+                            'prserv': False, 'nosstate': True,
+                            'SDKMACHINE' : 'x86_64'}},
+        {'CreateBBLayersConf': {'buildprovider' : 'yocto',
+                                'layerdirs': ['refkit/meta-intel',
+                                'refkit/meta-refkit-core']}},
+        {'BuildImages': {'images': 'refkit-image-minimal'}},
         {'DownloadErrorReports': {}},
         {'SendErrorReport': {}}
         ]
-- 
2.13.3

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

Reply via email to