]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/base: reformat HOSTTOOLS error
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 16 Mar 2017 09:09:42 +0000 (22:09 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Mar 2017 22:11:15 +0000 (22:11 +0000)
Adjust the message slightly to make it clearer, in particular mentioning
the HOSTTOOLS variable.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass

index fec351a890f23ded74426872995f78101d016104..cf8748a502fcba7e78c07b1cd9e8af9ceda239db 100644 (file)
@@ -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}"