diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2013-01-28 16:56:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-31 12:46:20 +0000 |
commit | e863851045ffce62bef65d8d414e11489641395c (patch) | |
tree | 1646f31aec8ab3bf27edb4dc42e1a03f4843a671 /meta-skeleton | |
parent | c30ef8886d5597fb2b21fb101d4485a280ba73d4 (diff) | |
download | poky-e863851045ffce62bef65d8d414e11489641395c.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: 41208760d70a657297f9ecfb48b74e2c3b594e70)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton')
0 files changed, 0 insertions, 0 deletions