`Hi
I am in the process of creating a yocto Recipe that will fetch the source from a private Azure GIT repository. SSH URL works on UBUNTU as a standalone, I don't see any issues while cloning via SSH URL using GIT commands or GIT GUI.
However, the do-fetch() function fails when the recipe tries to fetch using the same SSH URL used for SRC_URI
I am not sure why fetch fails here, is there any specific syntax or procedure that needs to be followed to fetch a private GIT repository?
Any help on this will significantly help us
SSH URL which works on UBUNTU
git@ssh.dev.azure.com:v3/CompanyName>/ProjectName/TestYoctoSourceUri
SRI command used in my recipe
SRC_URI = "git://git@ssh.dev.azure.com:v3/CompanyName/ProjectName/TestYoctoSourceUri;pocrotol=ssh;branch=master;destsuffix=git/common "
Have changed.SSH configuration to add SSH key and port number
Host dev.azure.com
HostName dev.azure.com
Port 443
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa``
As far as I know, the character :
in the URL is not supported in Yocto Recipe.
You can try to replace the :
with /
in the URL.
For example:
SRC_URI = "git://git@ssh.dev.azure.com/v3/CompanyName/ProjectName/TestYoctoSourceUri;pocrotol=ssh;branch=master;destsuffix=git/common"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.