summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2013-12-27 01:51:51 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-02 13:08:41 +0000
commit2c9475edcc5219b912530dbdcbca09ea6f43bcde (patch)
treeb896a2e7c997bd0777d231cd9e364ed141edbc0a /bitbake
parentd8d4b0edb1f24d62694c9a10b50656927f6df0e1 (diff)
downloadpoky-2c9475edcc5219b912530dbdcbca09ea6f43bcde.tar.gz
bitbake: bitbake: fetcher2: clean(): remove the .patch.done
There was a problem: $ bitbake xf86-video-omapfb -cfetch && bitbake xf86-video-omapfb -ccleanall Everything should be removed, but the 0006-omapfb-port-to-new-xserver-video-API.patch.done still exists in the DL_DIR, this is because the clean() in the fetch2/__init__.py skips removing the local file, so that it will skip removing the .done. The local file (file://) isn't needed to be removed since it is not downloaded into DL_DIR, but the .done should be removed, this patch will remove the .done, and it doesn't remove anything else since the clean() in local.py does nothing. [YOCTO #5687] (Bitbake rev: 2bc99b9dfa532430a13c39fca4e5ef3a2206b3b8) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 439a44a4af..c584f48ad2 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1497,7 +1497,7 @@ class Fetch(object):
1497 ud = self.ud[url] 1497 ud = self.ud[url]
1498 ud.setup_localpath(self.d) 1498 ud.setup_localpath(self.d)
1499 1499
1500 if not ud.localfile or self.localpath is None: 1500 if not ud.localfile and ud.localpath is None:
1501 continue 1501 continue
1502 1502
1503 if ud.lockfile: 1503 if ud.lockfile: