SRC_URI from AWS codecommit with user and password #yocto


mail2uvijay@...
 

Hi All,

I have an application writing in Qt/QML for specific embedded target, The repo for this application is maintained in AWS codecommit which has user and password .
How to mentioned in the recipe SRC_URI to fetch from the repo which has user/password. I dont have SSH access for the same.
Let me know if you need more details.
tried this https://www.yoctoproject.org/pipermail/yocto/2014-April/019135.html no luck.

Regards,
Vijay


mail2uvijay@...
 

I think i figured out the issue, repo password having  "=" sigh due to that its throwing below error.


i dont have access to change password in the repo, can someone suggest some ideas on how to resolve this.


Khem Raj
 

you might have to figure out how the clone should work firstly. then
you can either encode it into SRC_URI, but I would say be careful
since you might leak password and url info
into packages, other option is to have some sort of ssh-agent running
and doing the authentication or maybe use .netrc to hold this info on
builder's homedir.

On Wed, Apr 20, 2022 at 5:15 AM <mail2uvijay@...> wrote:

Hi All,

I have an application writing in Qt/QML for specific embedded target, The repo for this application is maintained in AWS codecommit which has user and password .
How to mentioned in the recipe SRC_URI to fetch from the repo which has user/password. I dont have SSH access for the same.
Let me know if you need more details.
tried this https://www.yoctoproject.org/pipermail/yocto/2014-April/019135.html no luck.

Regards,
Vijay


mail2uvijay@...
 


Thank you Khem Raj i am following ".netrc" conf file able to clone he repo.