Fix for YB6562
cover Fix for YB6562
The following changes since commit 2d1660112e54653f7bb763939d0416472c49fe01:
populate_sdk_base: Fix grep command usage on old hosts (2014-07-29 09:58:27 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib roxana/YB6562
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=roxana/YB6562
Roxana Ciobanu (1):
SRC_URI parameter: "subdir" does not work for local files
bitbake/lib/bb/fetch2/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1
PATCH 1/1 SRC_URI parameter: "subdir" does not work for local files
Check if the 'subdir' parameter exists and assign it to 'destdir' so that files are copied in ${WORKDIR}/destdir.
Signed-off-by Roxana Ciobanu <[email protected]>
--- bitbake/lib/bb/fetch2/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
bitbake/lib/bb/fetch2/__init__.py +4 -1
@@ -1265,7 +1265,10 @@ class FetchMethod(object): if urldata.type == "file" and urldata.path.find("/") != -1: destdir = urldata.path.rsplit("/", 1)[0] else: - destdir = "." + if urldata.parm.get('subdir') != None: + destdir = urldata.parm.get('subdir') + else: + destdir = "." bb.utils.mkdirhier("%s/%s" % (rootdir, destdir)) cmd = 'cp -f %s %s/%s/' % (file, rootdir, destdir)
Signature · 1 line
1.9.1