diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-23 17:56:42 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-23 17:56:42 +0100 |
commit | bbe3ee4b62b887f408ef7e43ebc1b7b54a238f9a (patch) | |
tree | 2a4b9e8ad8f1f4df97e1e2cc941fe2b0f70cef54 /bin | |
parent | a519d723a17e1cc8e87872a7b0243763f0125e6f (diff) | |
download | bitbake-bbe3ee4b62b887f408ef7e43ebc1b7b54a238f9a.tar.gz |
bin/bitbake: Add python 2.6 check (from Poky)
Now we need python 2.6 check for it otherwise bitbake appears to hang.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bitbake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/bitbake b/bin/bitbake index f5eb29a97..3fda4a012 100755 --- a/bin/bitbake +++ b/bin/bitbake @@ -32,6 +32,10 @@ from bb.ui import uievent __version__ = "1.9.0" +if sys.hexversion < 0x020600F0: + print "Sorry, python 2.6 or later is required for this version of bitbake" + sys.exit(1) + #============================================================================# # BBOptions #============================================================================# |