aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--lib/bb/fetch/local.py4
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0c9ea2747..b4501bad3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -32,6 +32,7 @@ Changes in Bitbake 1.9.x:
- Add profiling option (-P)
- Add BB_SRCREV_POLICY variable (clear or cache) to control SRCREV cache
- Add SRCREV_FORMAT support
+ - Fix local fetcher's localpath return values
Changes in Bitbake 1.8.0:
- Release 1.7.x as a stable series
diff --git a/lib/bb/fetch/local.py b/lib/bb/fetch/local.py
index 9be8f1ce4..5e480a208 100644
--- a/lib/bb/fetch/local.py
+++ b/lib/bb/fetch/local.py
@@ -38,9 +38,11 @@ class Local(Fetch):
return urldata.type in ['file','patch']
def localpath(self, url, urldata, d):
- """Return the local filename of a given url assuming a successful fetch.
+ """
+ Return the local filename of a given url assuming a successful fetch.
"""
path = url.split("://")[1]
+ path = path.split(";")[0]
newpath = path
if path[0] != "/":
filespath = data.getVar('FILESPATH', d, 1)