diff options
Diffstat (limited to 'bitbake/lib/bb/fetch/local.py')
| -rw-r--r-- | bitbake/lib/bb/fetch/local.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py index 5e480a208e..a39cdce22f 100644 --- a/bitbake/lib/bb/fetch/local.py +++ b/bitbake/lib/bb/fetch/local.py | |||
| @@ -59,3 +59,11 @@ class Local(Fetch): | |||
| 59 | """Fetch urls (no-op for Local method)""" | 59 | """Fetch urls (no-op for Local method)""" |
| 60 | # no need to fetch local files, we'll deal with them in place. | 60 | # no need to fetch local files, we'll deal with them in place. |
| 61 | return 1 | 61 | return 1 |
| 62 | |||
| 63 | def checkstatus(self, url, urldata, d): | ||
| 64 | """ | ||
| 65 | Check the status of the url | ||
| 66 | """ | ||
| 67 | if os.path.exists(urldata.localpath): | ||
| 68 | return True | ||
| 69 | return False | ||
