mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
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>
This commit is contained in:
parent
3d79025398
commit
2dcd1f2a21
|
@ -112,7 +112,7 @@ def main():
|
||||||
% layer['name'])
|
% layer['name'])
|
||||||
layers.remove(layer)
|
layers.remove(layer)
|
||||||
elif layer['type'] == LayerType.ERROR_NO_LAYER_CONF:
|
elif layer['type'] == LayerType.ERROR_NO_LAYER_CONF:
|
||||||
logger.error("%s: Don't have conf/layer.conf file."\
|
logger.info("%s: Doesn't have conf/layer.conf file, so ignoring"\
|
||||||
% layer['name'])
|
% layer['name'])
|
||||||
layers.remove(layer)
|
layers.remove(layer)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user