[OE-core] [PATCH 1/2] classes/base: reformat HOSTTOOLS error

Paul Eggleton paul.eggleton at linux.intel.com
Thu Mar 16 09:09:42 UTC 2017


Adjust the message slightly to make it clearer, in particular mentioning
the HOSTTOOLS variable.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
 meta/classes/base.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index fec351a..cf8748a 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -136,7 +136,7 @@ def setup_hosttools_dir(dest, toolsvar, d, fatal=True):
             else:
                 notfound.append(tool)
     if notfound and fatal:
-        bb.fatal("These tools appear to be unavailable in PATH, please install them in order to proceed:\n%s" % " ".join(notfound))
+        bb.fatal("The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:\n  %s" % " ".join(notfound))
 
 addtask fetch
 do_fetch[dirs] = "${DL_DIR}"
-- 
2.9.3




More information about the Openembedded-core mailing list