diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/local.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 1a86d8fd81..770021de16 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -1234,7 +1234,7 @@ def get_checksum_file_list(d): | |||
1234 | ud = fetch.ud[u] | 1234 | ud = fetch.ud[u] |
1235 | if ud and isinstance(ud.method, local.Local): | 1235 | if ud and isinstance(ud.method, local.Local): |
1236 | found = False | 1236 | found = False |
1237 | paths = ud.method.localpaths(ud, d) | 1237 | paths = ud.method.localfile_searchpaths(ud, d) |
1238 | for f in paths: | 1238 | for f in paths: |
1239 | pth = ud.decodedurl | 1239 | pth = ud.decodedurl |
1240 | if os.path.exists(f): | 1240 | if os.path.exists(f): |
diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py index 5332faafe2..8baec7d2e8 100644 --- a/bitbake/lib/bb/fetch2/local.py +++ b/bitbake/lib/bb/fetch2/local.py | |||
@@ -41,9 +41,9 @@ class Local(FetchMethod): | |||
41 | """ | 41 | """ |
42 | Return the local filename of a given url assuming a successful fetch. | 42 | Return the local filename of a given url assuming a successful fetch. |
43 | """ | 43 | """ |
44 | return self.localpaths(urldata, d)[-1] | 44 | return self.localfile_searchpaths(urldata, d)[-1] |
45 | 45 | ||
46 | def localpaths(self, urldata, d): | 46 | def localfile_searchpaths(self, urldata, d): |
47 | """ | 47 | """ |
48 | Return the local filename of a given url assuming a successful fetch. | 48 | Return the local filename of a given url assuming a successful fetch. |
49 | """ | 49 | """ |