Message ID | 20220124154256.3791133-1-ross.burton@arm.com |
---|---|
State | Accepted, archived |
Commit | 711e2d4d7baf36f8497741c14268d7f72d0db016 |
Headers | show |
Series | yocto-check-layer: add debug output for the layers that were found | expand |
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer index 2445ad5e43f..c637aad3950 100755 --- a/scripts/yocto-check-layer +++ b/scripts/yocto-check-layer @@ -106,6 +106,11 @@ def main(): else: dep_layers = layers + for l in additional_layers: + logger.debug("Found additional layer %s (%s)" % (l["name"], l["path"])) + for l in dep_layers: + logger.debug("Found dependency layer %s (%s)" % (l["name"], l["path"])) + logger.info("Detected layers:") for layer in layers: if layer['type'] == LayerType.ERROR_BSP_DISTRO:
When debugging weird yocto-check-layer output it is useful to know what the tool found when looking for layers. Signed-off-by: Ross Burton <ross.burton@arm.com> --- scripts/yocto-check-layer | 5 +++++ 1 file changed, 5 insertions(+)