mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 15:57:51 +00:00
Revert "bitbake/fetch/local: Also check DL_DIR for files since they could already exists there"
These changes were incorrect. This reverts commit ae98f7eacb9e61fe086d88dc694b4c651af9fee3.
This commit is contained in:
parent
aa81dda4d4
commit
7333328c48
@ -49,10 +49,6 @@ class Local(Fetch):
|
||||
filespath = data.getVar('FILESPATH', d, 1)
|
||||
if filespath:
|
||||
newpath = bb.utils.which(filespath, path)
|
||||
if not newpath:
|
||||
dlpath = os.path.join(data.getVar('DL_DIR', d, True), path)
|
||||
if os.exists(dlpath):
|
||||
newpath = dlpath
|
||||
if not newpath:
|
||||
filesdir = data.getVar('FILESDIR', d, 1)
|
||||
if filesdir:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user