summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-08 10:27:16 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-08 10:27:16 +0000
commitd9a71e881427ca9c82d84288af75e07def42cf01 (patch)
tree8700fad0b3d02ecd69b5ff7cbc099ea371e695c4 /bitbake/lib
parenta936d29b5f8301520581f8f7c921e97a069cf0f9 (diff)
downloadpoky-d9a71e881427ca9c82d84288af75e07def42cf01.tar.gz
bitbake: fetcher init - clear data's internal expand cache since the cached SRCREV value will be wrong
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3104 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/fetch/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index 1d41033f54..d9dfc7402d 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -294,6 +294,9 @@ class FetchData(object):
294 bb.fetch.srcrev_internal_call = True 294 bb.fetch.srcrev_internal_call = True
295 self.localpath = self.method.localpath(self.url, self, d) 295 self.localpath = self.method.localpath(self.url, self, d)
296 bb.fetch.srcrev_internal_call = False 296 bb.fetch.srcrev_internal_call = False
297 # We have to clear data's internal caches since the cached value of SRCREV is now wrong.
298 # Horrible...
299 bb.data.delVar("ISHOULDNEVEREXIST", d)
297 self.md5 = self.localpath + '.md5' 300 self.md5 = self.localpath + '.md5'
298 self.lockfile = self.localpath + '.lock' 301 self.lockfile = self.localpath + '.lock'
299 302