]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake: Sync with upstream, fix some typos, add selfstamp flag
authorRichard Purdie <richard@openedhand.com>
Sun, 25 Nov 2007 13:54:43 +0000 (13:54 +0000)
committerRichard Purdie <richard@openedhand.com>
Sun, 25 Nov 2007 13:54:43 +0000 (13:54 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3227 311d38ba-8fff-0310-9ca6-ca027cbcb966

bitbake/ChangeLog
bitbake/lib/bb/build.py
bitbake/lib/bb/utils.py

index 4125e03169f67b26fdda925ef5a3da3f96f4cc5e..4fddeca86c9226970dc77c175bd4c1d4261c8386 100644 (file)
@@ -12,6 +12,19 @@ Changes in BitBake 1.8.x:
        - Add bzr fetcher
        - Add support for cleaning directories before a task in the form:
          do_taskname[cleandirs] = "dir"
+       - bzr fetcher tweaks from Robert Schuster (#2913)
+       - Add mercurial (hg) fetcher from Robert Schuster (#2913)
+       - Fix bogus preferred_version return values
+       - Fix 'depends' flag splitting
+       - Fix unexport handling (#3135)
+       - Add bb.copyfile function similar to bb.movefile (and improve movefile error reporting)
+       - Allow multiple options for deptask flag
+       - Use git-fetch instead of git-pull removing any need for merges when 
+         fetching (we don't care about the index). Fixes fetch errors.
+       - Add BB_GENERATE_MIRROR_TARBALLS option, set to 0 to make git fetches 
+         faster at the expense of not creating mirror tarballs.
+       - SRCREV handling updates, improvements and fixes from Poky
+       - Add bb.utils.lockfile() and bb.utils.unlockfile() from Poky
 
 Changes in Bitbake 1.8.8:
        - Rewrite svn fetcher to make adding extra operations easier 
index 501f4f8206e6714e81dd85bb5b1733ad446f9d6a..f41898ec14ef54e4146f4e689c963ad7f42bf861 100644 (file)
@@ -297,7 +297,7 @@ def exec_task(task, d):
         task_graph.walkdown(task, execute)
 
     # make stamp, or cause event and raise exception
-    if not data.getVarFlag(task, 'nostamp', d):
+    if not data.getVarFlag(task, 'nostamp', d) and not data.getVarFlag(task, 'selfstamp', d):
         make_stamp(task, d)
 
 def extract_stamp_data(d, fn):
index c27dafd6148f4eaf085327fe891945955b9dcb93..a2a5ff6cfd353fd7edcc38c44b56842a87f0b573 100644 (file)
@@ -205,13 +205,13 @@ def Enum(*names):
 
 def lockfile(name):
     """
-    Use the file fn as a lock file, return when the lock has been aquired.
+    Use the file fn as a lock file, return when the lock has been acquired.
     Returns a variable to pass to unlockfile().
     """
     while True:
         # If we leave the lockfiles lying around there is no problem
         # but we should clean up after ourselves. This gives potential
-        # for races though. To work around this, when we aquire the lock 
+        # for races though. To work around this, when we acquire the lock 
         # we check the file we locked was still the lock file on disk. 
         # by comparing inode numbers. If they don't match or the lockfile 
         # no longer exists, we start again.