mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
bitbake/fetch2: Drop horrible SRCREV hack which is no longer needed
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -595,9 +595,6 @@ class FetchData(object):
|
|||||||
self.basename = os.path.basename(self.localpath)
|
self.basename = os.path.basename(self.localpath)
|
||||||
else:
|
else:
|
||||||
self.localpath = self.method.localpath(self.url, self, d)
|
self.localpath = self.method.localpath(self.url, self, d)
|
||||||
# We have to clear data's internal caches since the cached value of SRCREV is now wrong.
|
|
||||||
# Horrible...
|
|
||||||
bb.data.delVar("ISHOULDNEVEREXIST", d)
|
|
||||||
|
|
||||||
if self.localpath is not None:
|
if self.localpath is not None:
|
||||||
# Note: These files should always be in DL_DIR whereas localpath may not be.
|
# Note: These files should always be in DL_DIR whereas localpath may not be.
|
||||||
|
|||||||
Reference in New Issue
Block a user