[Buildroot] [PATCH 3/5] pkg-download: allow ssh URLs
Gilles Chanteperdrix
gilles.chanteperdrix at xenomai.org
Thu Jun 16 19:40:24 UTC 2016
On Wed, Jun 15, 2016 at 11:08:08PM +0200, Thomas Petazzoni wrote:
> Hello,
>
> On Tue, 14 Jun 2016 17:11:17 +0200, Gilles Chanteperdrix wrote:
>
> > diff --git a/package/pkg-download.mk b/package/pkg-download.mk
> > index a0f694d..5f7a155 100644
> > --- a/package/pkg-download.mk
> > +++ b/package/pkg-download.mk
> > @@ -225,7 +225,7 @@ define DOWNLOAD_INNER
> > fi ; \
> > if test -n "$(1)" ; then \
> > case "$($(PKG)_SITE_METHOD)" in \
> > - git) $($(3)_GIT) && exit ;; \
> > + git|ssh) $($(3)_GIT) && exit ;; \
>
> There has already been a question from Yann on a previous iteration of
> this patch, which hasn't been answered:
>
> """
> What about Hg URLs that can also start with 'ssh://' ?
> """
>
> Indeed, I don't see why a ssh:// URL should necessarily reference a Git
> repository. And there's no explanation about this decision in the
> commit log.
See the discussion here:
http://lists.busybox.net/pipermail/buildroot/2016-May/160670.html
--
Gilles.
https://click-hack.org
More information about the buildroot
mailing list