summaryrefslogtreecommitdiffstats
path: root/scripts/yocto-check-layer
diff options
context:
space:
mode:
authorJose Quaresma <jose.quaresma@oss.qualcomm.com>2025-09-08 15:15:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-09-11 11:31:57 +0100
commit7882955c3b44c237c415a5b208a39ca0cbc8265b (patch)
treebd91be02d0216fdc7210a05b2e2bdfb94bb0c6cd /scripts/yocto-check-layer
parent95dd4137a1dc1af8df58026ffd3d9a8c007b9b2b (diff)
downloadpoky-7882955c3b44c237c415a5b208a39ca0cbc8265b.tar.gz
yocto-check-layer: show the distro used
It is good to know which distribution is being used, because it is not the same whether we are using the poky or openembedded-core+bitbake repository. The default distribution of bitbake is the nodistro while the other is poky. The nodistro and poky produce different results when used to check the compatibility of a layer so it is important to inform about the distro in use. (From OE-Core rev: bcc74229e6d5a716a9f65546665a42478295dece) Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/yocto-check-layer')
-rwxr-xr-xscripts/yocto-check-layer1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer
index 67cc71950f..8c8b4dbcad 100755
--- a/scripts/yocto-check-layer
+++ b/scripts/yocto-check-layer
@@ -35,6 +35,7 @@ logger = scriptutils.logger_create(PROGNAME, stream=sys.stdout)
35def test_layer(td, layer, test_software_layer_signatures): 35def test_layer(td, layer, test_software_layer_signatures):
36 from checklayer.context import CheckLayerTestContext 36 from checklayer.context import CheckLayerTestContext
37 logger.info("Starting to analyze: %s" % layer['name']) 37 logger.info("Starting to analyze: %s" % layer['name'])
38 logger.info('Distro: %s' % td['bbvars']["DISTRO"])
38 logger.info("----------------------------------------------------------------------") 39 logger.info("----------------------------------------------------------------------")
39 40
40 tc = CheckLayerTestContext(td=td, logger=logger, layer=layer, test_software_layer_signatures=test_software_layer_signatures) 41 tc = CheckLayerTestContext(td=td, logger=logger, layer=layer, test_software_layer_signatures=test_software_layer_signatures)