简体   繁体   中英

Bitbake (Yocto) git fetch URI authentication

How do I make a bitbake recipe that clones a git repo with built in authentication (into the url)?

What is the format of the SRC_URI?

For example:

SRC_URI = "git://<host>/path/to/<repo>.git;protocol=<protocol>;user=<user>:<password>;branch=<branch>

protocol might for example be https

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM