summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/fetch/local.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch/local.py')
-rw-r--r--bitbake/lib/bb/fetch/local.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py
index 5e480a208..a39cdce22 100644
--- a/bitbake/lib/bb/fetch/local.py
+++ b/bitbake/lib/bb/fetch/local.py
@@ -59,3 +59,11 @@ class Local(Fetch):
"""Fetch urls (no-op for Local method)"""
# no need to fetch local files, we'll deal with them in place.
return 1
+
+ def checkstatus(self, url, urldata, d):
+ """
+ Check the status of the url
+ """
+ if os.path.exists(urldata.localpath):
+ return True
+ return False