summaryrefslogtreecommitdiffstats
path: root/scripts/yocto-check-layer
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-05-04 22:30:20 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-06 16:55:35 +0100
commit2dcd1f2a21ab430c08a27d95e6ea9cddfe88ec30 (patch)
tree32fab4bd72abdbf1a4c4302b0efbf9cc04cc35fe /scripts/yocto-check-layer
parent3d79025398d0e51e4b943ba1c814a74ad3a64c21 (diff)
downloadpoky-2dcd1f2a21ab430c08a27d95e6ea9cddfe88ec30.tar.gz
yocto-check-layer: Only note a layer without a conf/layer.conf (versus error)
Dynamic layers may have a conf directory, but don't need (or want) a conf/layer.conf This isn't an error, so we can just log it and indicate the layer is being skipped. A full layer without a conf file isn't all that useable, so we aren't letting anything subtle slip through by just logging it. (From OE-Core rev: 9841a7c70bc21c5cd3bbea98d5f8654434577f61) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/yocto-check-layer')
-rwxr-xr-xscripts/yocto-check-layer2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer
index deba3cb4f8..44e77b73d0 100755
--- a/scripts/yocto-check-layer
+++ b/scripts/yocto-check-layer
@@ -112,7 +112,7 @@ def main():
112 % layer['name']) 112 % layer['name'])
113 layers.remove(layer) 113 layers.remove(layer)
114 elif layer['type'] == LayerType.ERROR_NO_LAYER_CONF: 114 elif layer['type'] == LayerType.ERROR_NO_LAYER_CONF:
115 logger.error("%s: Don't have conf/layer.conf file."\ 115 logger.info("%s: Doesn't have conf/layer.conf file, so ignoring"\
116 % layer['name']) 116 % layer['name'])
117 layers.remove(layer) 117 layers.remove(layer)
118 else: 118 else: