Skip to contentSkip to conversation

sanity.bbclass: Print BBPATH when warning of bad components

PATCH New Gary Thomas 1 participant 1 message Jun 21, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sanity.bbclass: Print BBPATH when warning of bad components

The new warning/check for illegal BBPATH components is extended to actually print the list of elements. This will make it easier for the user to identify where the error(s) come from.

---
 meta/classes/sanity.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/sanity.bbclass +1 -1
index 6ed1e6f..fe7ece7 100644
@@ -396,7 +396,7 @@ def check_sanity(sanity_data):
                 "layer configuration is adding empty elements to BBPATH.\n\t "\
                 "Please check your layer.conf files and other BBPATH "        \
                 "settings to remove the current working directory "           \
-                "references.");
+                "references.\n\tBBPATH = ", str(bbpaths));
 
     if sanity_data.getVar('TARGET_ARCH', True) == "arm":
         # This path is no longer user-readable in modern (very recent) Linux
Signature · 1 line
1.7.7.6