[yocto] [yocto-autobuilder][PATCH] buildset-config.controller/nightly-refkit.conf: add poky distro build

Stephano Cetola stephano.cetola at linux.intel.com
Wed Aug 9 10:17:19 PDT 2017


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.cetola at 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




More information about the yocto mailing list