summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake-dev/lib')
-rw-r--r--bitbake-dev/lib/bb/build.py3
-rw-r--r--bitbake-dev/lib/bb/fetch/cvs.py6
-rw-r--r--bitbake-dev/lib/bb/providers.py6
3 files changed, 12 insertions, 3 deletions
diff --git a/bitbake-dev/lib/bb/build.py b/bitbake-dev/lib/bb/build.py
index ca7cfbc6bb..b8abe6d1b4 100644
--- a/bitbake-dev/lib/bb/build.py
+++ b/bitbake-dev/lib/bb/build.py
@@ -267,8 +267,9 @@ def exec_task(task, d):
267 bb.msg.debug(1, bb.msg.domain.Build, "Executing task %s" % task) 267 bb.msg.debug(1, bb.msg.domain.Build, "Executing task %s" % task)
268 old_overrides = data.getVar('OVERRIDES', d, 0) 268 old_overrides = data.getVar('OVERRIDES', d, 0)
269 localdata = data.createCopy(d) 269 localdata = data.createCopy(d)
270 data.setVar('OVERRIDES', 'task_%s:%s' % (task, old_overrides), localdata) 270 data.setVar('OVERRIDES', 'task-%s:%s' % (task[3:], old_overrides), localdata)
271 data.update_data(localdata) 271 data.update_data(localdata)
272 data.expandKeys(localdata)
272 event.fire(TaskStarted(task, localdata)) 273 event.fire(TaskStarted(task, localdata))
273 exec_func(task, localdata) 274 exec_func(task, localdata)
274 event.fire(TaskSucceeded(task, localdata)) 275 event.fire(TaskSucceeded(task, localdata))
diff --git a/bitbake-dev/lib/bb/fetch/cvs.py b/bitbake-dev/lib/bb/fetch/cvs.py
index c4ccf4303f..aa55ad8bf6 100644
--- a/bitbake-dev/lib/bb/fetch/cvs.py
+++ b/bitbake-dev/lib/bb/fetch/cvs.py
@@ -118,7 +118,11 @@ class Cvs(Fetch):
118 if 'norecurse' in ud.parm: 118 if 'norecurse' in ud.parm:
119 options.append("-l") 119 options.append("-l")
120 if ud.date: 120 if ud.date:
121 options.append("-D \"%s UTC\"" % ud.date) 121 # treat YYYYMMDDHHMM specially for CVS
122 if len(ud.date) == 12:
123 options.append("-D \"%s %s:%s UTC\"" % (ud.date[0:8], ud.date[8:10], ud.date[10:12]))
124 else:
125 options.append("-D \"%s UTC\"" % ud.date)
122 if ud.tag: 126 if ud.tag:
123 options.append("-r %s" % ud.tag) 127 options.append("-r %s" % ud.tag)
124 128
diff --git a/bitbake-dev/lib/bb/providers.py b/bitbake-dev/lib/bb/providers.py
index 0ad5876ef0..63d4f5b3cb 100644
--- a/bitbake-dev/lib/bb/providers.py
+++ b/bitbake-dev/lib/bb/providers.py
@@ -296,7 +296,11 @@ def getRuntimeProviders(dataCache, rdepend):
296 296
297 # Only search dynamic packages if we can't find anything in other variables 297 # Only search dynamic packages if we can't find anything in other variables
298 for pattern in dataCache.packages_dynamic: 298 for pattern in dataCache.packages_dynamic:
299 regexp = re.compile(pattern) 299 try:
300 regexp = re.compile(pattern)
301 except:
302 bb.msg.error(bb.msg.domain.Provider, "Error parsing re expression: %s" % pattern)
303 raise
300 if regexp.match(rdepend): 304 if regexp.match(rdepend):
301 rproviders += dataCache.packages_dynamic[pattern] 305 rproviders += dataCache.packages_dynamic[pattern]
302 306