Skip to contentSkip to conversation

buildset-config.controller/nightly-refkit.conf: add poky distro build

PATCH New Stephano Cetola 1 participant 1 message Aug 9, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 buildset-config.controller/nightly-refkit.conf: add poky distro build

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".

---
 buildset-config.controller/nightly-refkit.conf | 11 +++++++++++
 1 file changed, 11 insertions(+)
buildset-config.controller/nightly-refkit.conf +11 -0
index 5fdfe4fc7..187c1b117 100644
@@ -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': {}}
         ]
Signature · 1 line
2.13.3