diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2013-01-31 19:12:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-03 17:02:22 +0000 |
commit | 2b300848744ba879938612850f313e3256360dc6 (patch) | |
tree | 86669e8defd84928e0d1c00d41659dfb1c728927 /meta/packages | |
parent | 955827af15f611189c66850fd077de344e1285c3 (diff) | |
download | poky-2b300848744ba879938612850f313e3256360dc6.tar.gz |
bitbake: ssh: fix fetcher
* set localpath in urldata_init
otherwise localpath and basename were None, when fetcher was trying to
define .lock and .done paths
basepath = d.expand("${DL_DIR}/%s" % os.path.basename(self.localpath or self.basename))
* remove "host" from localpath
.done and .lock files are always using just basename, so if someone
has 2 recipes with:
SRC_URI = "ssh://foo/file.txt"
SRC_URI = "ssh://bar/file.txt"
then there will be only one file.txt.done in downloads anyway (and
only first file.txt from first server will be returned on do_fetch
(Bitbake rev: 5ac3ab3b565f70cd90cfbe121ddd2d899bfc0214)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/packages')
0 files changed, 0 insertions, 0 deletions