diff options
author | Aníbal Limón <anibal.limon@linaro.org> | 2018-10-02 16:43:23 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-04 14:21:41 +0100 |
commit | 32874084cefbe22f3294625859c5335096c670f2 (patch) | |
tree | 81032d8f601299498ab2147b53652e560a21120a /scripts | |
parent | 68bf128e901e89d5b49a28b15d5083b2bf6b536f (diff) | |
download | openembedded-core-contrib-32874084cefbe22f3294625859c5335096c670f2.tar.gz |
scripts/yocto-check-layer: Don't abort when layer fails to get signatures
When execute in multiple layers like meta-openembedded the execution is
aborted when some sublayer fails to get world signatures, so mark it as
an error and continue the execution in the remaining sublayers.
(From OE-Core rev: c8ab558b4fdc77ab54fbb130078c78d43740b4b8)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/yocto-check-layer | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer index 5a4fd752ca..9b7e53679b 100755 --- a/scripts/yocto-check-layer +++ b/scripts/yocto-check-layer @@ -169,7 +169,14 @@ def main(): td['bbvars'] = get_bb_vars() logger.info('Getting initial signatures ...') td['builddir'] = builddir - td['sigs'], td['tunetasks'] = get_signatures(td['builddir']) + try: + td['sigs'], td['tunetasks'] = get_signatures(td['builddir']) + except RuntimeError as e: + logger.info(str(e)) + results[layer['name']] = None + results_status[layer['name']] = 'FAIL (Generating world signatures)' + layers_tested = layers_tested + 1 + continue td['machines'] = args.machines if not add_layer(bblayersconf, layer, dep_layers, logger): |