From c679a3dd41db361212f8bb7c3d0227ff1b9d3011 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 26 Feb 2016 17:52:14 +0000 Subject: bitbake: fetch2: Skip lockfiles and donestamps for local files For local files, there are no races with downloads, we don't need ".done" stamps and we don't need lockfiles. This considerably cleans up DL_DIR and all the pointless ".done" files as well as removes stalls over local files with the same name. (Bitbake rev: 48e903745db578d9b9b425a8d411c1369df0eb94) Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/local.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb/fetch2/local.py') diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py index 2d921f7e55..303a52b638 100644 --- a/bitbake/lib/bb/fetch2/local.py +++ b/bitbake/lib/bb/fetch2/local.py @@ -45,6 +45,7 @@ class Local(FetchMethod): ud.decodedurl = urllib.unquote(ud.url.split("://")[1].split(";")[0]) ud.basename = os.path.basename(ud.decodedurl) ud.basepath = ud.decodedurl + ud.needdonestamp = False return def localpath(self, urldata, d): -- cgit v1.2.3-54-g00ecf