summaryrefslogtreecommitdiff
path: root/bitbake
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
parenta936d29b5f8301520581f8f7c921e97a069cf0f9 (diff)
downloadopenembedded-core-d9a71e881427ca9c82d84288af75e07def42cf01.tar.gz
openembedded-core-d9a71e881427ca9c82d84288af75e07def42cf01.tar.bz2
openembedded-core-d9a71e881427ca9c82d84288af75e07def42cf01.zip
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')
-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):
bb.fetch.srcrev_internal_call = True
self.localpath = self.method.localpath(self.url, self, d)
bb.fetch.srcrev_internal_call = False
+ # We have to clear data's internal caches since the cached value of SRCREV is now wrong.
+ # Horrible...
+ bb.data.delVar("ISHOULDNEVEREXIST", d)
self.md5 = self.localpath + '.md5'
self.lockfile = self.localpath + '.lock'