]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/base: clarify S not set correctly warning
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 17 Apr 2015 15:43:09 +0000 (16:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 19 Apr 2015 12:34:04 +0000 (13:34 +0100)
Hopefully make it a bit clearer to the user which recipe needs fixing
and what needs to be done to fix it.

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

index 3d9235e1a638ddc6494f4407f92d2f0b6c71b67e..0032b302cf353c62c43c8560067aab6d2ed43339 100644 (file)
@@ -151,7 +151,7 @@ python base_do_unpack() {
         raise bb.build.FuncFailed(e)
 
     if not os.path.exists(s_dir):
-        bb.warn("%s ('S') doesn't exist, please set 'S' to a proper value" % s_dir)
+        bb.warn('%s: the directory %s (%s) pointed to by the S variable doesn\'t exist - please set S within the recipe to point to where the source has been unpacked to' % (d.getVar('PN', True), d.getVar('S', False), s_dir))
 }
 
 def pkgarch_mapping(d):