diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch/__init__.py | 3 |
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 | ||