[bitbake-devel] [PATCH] fetch2/git: change colon to dot in ud.host
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Jan 4 14:19:33 UTC 2012
On Thu, 2011-12-22 at 15:21 +0100, Juraj Hercek wrote:
> Local cloning of git repositories from DL_DIR into WORKDIR fails when
> using ssh URL with port specification e.g.
> "ssh://user@host:port/path/to/repo.git". Git fetcher clones such remote
> repository into "${DL_DIR}/git2/host:port.path.to.repo.git". However,
> when clonging from ${DL_DIR}/git2/host:port.path.to.repo.git into
> ${WORKDIR}, git fetcher fails with "ssh: Could not resolve hostname
> ${DLDIR}/git2/host: Name or service not known".
>
> A solution is to replace ":" by "." in host component, similarly as it
> is done when replacing "/" with "." in path component, so that local
> clone directory in DL_DIR looks like this: "host.port.path.to.repo.git".
>
> Signed-off-by: Juraj Hercek <juraj.hercek at jhksoftware.com>
> ---
> lib/bb/fetch2/git.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Merged to master, thanks.
Richard
More information about the bitbake-devel
mailing list