[oe-commits] Paul Eggleton : classes/base: clarify S not set correctly warning
git at git.openembedded.org
git at git.openembedded.org
Fri Apr 17 21:57:50 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: bfb162efd592ca03a16b84bce91b5440c9e919e6
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=bfb162efd592ca03a16b84bce91b5440c9e919e6
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date: Fri Apr 17 16:43:09 2015 +0100
classes/base: clarify S not set correctly warning
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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 3d9235e..0032b30 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -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):
More information about the Openembedded-commits
mailing list