From d9a71e881427ca9c82d84288af75e07def42cf01 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 8 Nov 2007 10:27:16 +0000 Subject: 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 --- bitbake/lib/bb/fetch/__init__.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bitbake') 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' -- cgit 1.2.3-korg