[yocto] git works standalone, but not within yocto for certain ssh uri format
Bas Mevissen
abuse at basmevissen.nl
Thu Oct 4 03:29:13 PDT 2018
On 2018-10-03 08:14, Jakob Hasse wrote:
> Hello again,
>
> I looked up the git man page and confirmed that the given SSH URI is
> valid, in fact, the "v3" is just part of the path. No need to
> explicitly specify a port number. As already mentioned, git works fine
> when cloning standalone.
> Furthermore, if I add a slash after the colon, the Yocto fetcher works
> fine:
>
> SRC_URI =
> "gitsm://my-company@vs-ssh.visualstudio.com:/v3/my-company/IoTSolutions/my-app"
>
> Is there a workaround for this problem? Has anyone experienced this
> before?
No experience with Azure. On Bitbucket, a private Git repo might be
defined with:
SRC_URI = "git://git@bitbucket.org/<project>/<repo>.git;protocol=ssh"
So in your case I think it should look like:
SRC_URI =
"gitsm://git@vs-ssh.visualstudio.com/v3/my-company/IoTSolutions/my-app.git;protocol=ssh"
(or try omitting the .git from the SRC_URI)
Regards,
-- Bas.
More information about the yocto
mailing list