Skip to contentSkip to conversation

yocto-check-layer: add debug output for the layers that were found

PATCH Superseded Ross Burton 1 participant 1 message Jan 24, 2022

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 yocto-check-layer: add debug output for the layers that were found

When debugging weird yocto-check-layer output it is useful to know what the tool found when looking for layers.

---
 scripts/yocto-check-layer | 5 +++++
 1 file changed, 5 insertions(+)
scripts/yocto-check-layer +5 -0
index 2445ad5e43f..c637aad3950 100755
@@ -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:
Signature · 1 line
2.25.1