diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-08 10:27:16 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-08 10:27:16 +0000 |
commit | d9a71e881427ca9c82d84288af75e07def42cf01 (patch) | |
tree | 8700fad0b3d02ecd69b5ff7cbc099ea371e695c4 /bitbake | |
parent | a936d29b5f8301520581f8f7c921e97a069cf0f9 (diff) | |
download | openembedded-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__.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): 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' |