summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-05-25 21:32:15 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-25 21:32:15 +0000
commit321981ba96a07994437a2888598519b61fb4fc39 (patch)
tree9ee03c6c833f86ea7baa0e570027c5d5a16e9bd9 /classes
parent00a5df6a7d5ae1dcc8d4935752329c357b758d86 (diff)
parente56ab0f3022f705e7a69fa4088c4a269e3c7046d (diff)
merge of 2d6d863c36fd1d9d7ab0dba3d700e0f1ccf122be
and 5429025616a252862aead1378c8075987190a85a
Diffstat (limited to 'classes')
-rw-r--r--classes/sanity.bbclass12
1 files changed, 11 insertions, 1 deletions
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index a06753b198..a626162ffb 100644
--- a/classes/sanity.bbclass
+++ b/classes/sanity.bbclass
@@ -4,7 +4,11 @@
def raise_sanity_error(msg):
import bb
- bb.fatal("Openembedded's config sanity checker detected a potential misconfiguration.\nEither fix the cause of this error or at your own risk disable the checker (see sanity.conf).\n%s" % msg)
+ bb.fatal(""" Openembedded's config sanity checker detected a potential misconfiguration.
+ Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
+ Following is the list of potential problems / advisories:
+
+ %s""" % msg)
def check_conf_exists(fn, data):
import bb, os
@@ -86,6 +90,12 @@ def check_sanity(e):
if not check_app_exists('texi2html', e.data):
raise_sanity_error('Please install the texi2html binary')
+ if not check_app_exists('cvs', e.data):
+ raise_sanity_error('Please install the cvs utility')
+
+ if not check_app_exists('svn', e.data):
+ raise_sanity_error('Please install the svn utility')
+
oes_bb_conf = data.getVar( 'OES_BITBAKE_CONF', e.data, True )
if not oes_bb_conf:
raise_sanity_error('You do not include OpenEmbeddeds version of conf/bitbake.conf')