瀏覽代碼

bitbake: Update to 1.8.10 release

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3555 311d38ba-8fff-0310-9ca6-ca027cbcb966
Richard Purdie 17 年之前
父節點
當前提交
05c49eaac2
共有 5 個文件被更改,包括 11 次插入6 次删除
  1. 1 1
      bitbake/ChangeLog
  2. 1 1
      bitbake/bin/bitbake
  3. 1 1
      bitbake/lib/bb/__init__.py
  4. 3 2
      bitbake/lib/bb/fetch/git.py
  5. 5 1
      bitbake/lib/bb/persist_data.py

+ 1 - 1
bitbake/ChangeLog

@@ -1,4 +1,4 @@
-Changes in BitBake 1.8.x:
+Changes in BitBake 1.8.10:
 	- Psyco is available only for x86 - do not use it on other architectures.
 	- Fix a bug in bb.decodeurl where http://some.where.com/somefile.tgz decoded to host="" (#1530)
 	- Warn about malformed PREFERRED_PROVIDERS (#1072)

+ 1 - 1
bitbake/bin/bitbake

@@ -27,7 +27,7 @@ sys.path.insert(0,os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'l
 import bb
 from bb import cooker
 
-__version__ = "1.8.9"
+__version__ = "1.8.11"
 
 #============================================================================#
 # BBOptions

+ 1 - 1
bitbake/lib/bb/__init__.py

@@ -21,7 +21,7 @@
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-__version__ = "1.8.9"
+__version__ = "1.8.11"
 
 __all__ = [
 

+ 3 - 2
bitbake/lib/bb/fetch/git.py

@@ -131,8 +131,9 @@ class Git(Fetch):
         return "git:" + ud.host + ud.path.replace('/', '.')
 
     def _latest_revision(self, url, ud, d):
-
-        bb.msg.note(1, bb.msg.domain.Fetcher, "Calling git ls-remote %s://%s%s %s" % (ud.proto, ud.host, ud.path, ud.branch ) )
+        """
+        Compute the HEAD revision for the url
+        """
         output = runfetchcmd("git ls-remote %s://%s%s %s" % (ud.proto, ud.host, ud.path, ud.branch), d, True)
         return output.split()[0]
 

+ 5 - 1
bitbake/lib/bb/persist_data.py

@@ -23,7 +23,11 @@ except ImportError:
     try:
         from pysqlite2 import dbapi2 as sqlite3
     except ImportError:
-        bb.msg.fatal(bb.msg.domain.PersistData, "Importing sqlite3 and pysqlite2 failed, please install one of them. A 'python-pysqlite2' like package is likely to be what you need.")
+        bb.msg.fatal(bb.msg.domain.PersistData, "Importing sqlite3 and pysqlite2 failed, please install one of them. Python 2.5 or a 'python-pysqlite2' like package is likely to be what you need.")
+
+sqlversion = sqlite3.sqlite_version_info
+if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):
+    bb.msg.fatal(bb.msg.domain.PersistData, "sqlite3 version 3.3.0 or later is required.")
 
 class PersistData:
     """