* #bitbake Can't get application sources from private git using SSH keys #bitbake #yocto @ 2021-07-29 6:22 mail2uvijay 2021-07-29 8:50 ` [yocto] " Yoann Congal 0 siblings, 1 reply; 3+ messages in thread From: mail2uvijay @ 2021-07-29 6:22 UTC (permalink / raw) To: yocto [-- Attachment #1: Type: text/plain, Size: 534 bytes --] Hi, Working on Yocto build system first time. I has written a recipe to fetch the code from private GIT HUB, using SSH keys. Able to clone the code using git clone. However when i ran bitbake getting below error. "ssh couldnot resolve host" In my bitbake recipe these two line are present SRCREV = "ed189c8f5a4df7xxxxxxxxxxx4d443c382f4578" SRC_URI = "git://git@xxxx.com:xxx/xxx.git" Could someone please suggest on how to write a recipe to get the application code from private git hub using SSH keys. Regards, Vijay [-- Attachment #2: Type: text/html, Size: 604 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [yocto] #bitbake Can't get application sources from private git using SSH keys #bitbake #yocto 2021-07-29 6:22 #bitbake Can't get application sources from private git using SSH keys #bitbake #yocto mail2uvijay @ 2021-07-29 8:50 ` Yoann Congal 2021-07-29 9:07 ` mail2uvijay 0 siblings, 1 reply; 3+ messages in thread From: Yoann Congal @ 2021-07-29 8:50 UTC (permalink / raw) To: mail2uvijay; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 568 bytes --] Hello, Le jeu. 29 juil. 2021 à 08:22, <mail2uvijay@gmail.com> a écrit : > SRC_URI = "git://git@xxxx.com:xxx/xxx.git" > Could someone please suggest on how to write a recipe to get the > application code from private git hub using SSH keys. > The ':' in SRC_URI is not handled like in the git clone command line. You may need to change it to a '/' SRC_URI = "git://git@xxxx.com/xxx/xxx.git;protocol=ssh;" This is a frequent error (I make it at least once per project) Hope this helps! Regards, -- Yoann Congal Smile ECS - Expert technique [-- Attachment #2: Type: text/html, Size: 1213 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: #bitbake Can't get application sources from private git using SSH keys #bitbake #yocto 2021-07-29 8:50 ` [yocto] " Yoann Congal @ 2021-07-29 9:07 ` mail2uvijay 0 siblings, 0 replies; 3+ messages in thread From: mail2uvijay @ 2021-07-29 9:07 UTC (permalink / raw) To: yocto [-- Attachment #1: Type: text/plain, Size: 39 bytes --] Thank you Yoann. I was able to fetch. [-- Attachment #2: Type: text/html, Size: 91 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-29 9:07 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-07-29 6:22 #bitbake Can't get application sources from private git using SSH keys #bitbake #yocto mail2uvijay 2021-07-29 8:50 ` [yocto] " Yoann Congal 2021-07-29 9:07 ` mail2uvijay
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.