Hi Mohamed, On Mon, May 11, 2020 at 11:03:26AM +0200, Dawod wrote: > Hello, > > I need to fetch a git repo using 2 different protocols ( ssh & https ) > So that when I run bitbake, It will fetch using ssh protocol first and if > it fails to fetch, It will try to fetch using https protocol. >
Why? What's the exact use case? > can I do some thing like that or I will have to change it manually every > time ? > Maybe you could play with PREMIRROS? (I've never explicitly used that variable though): https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-PREMIRRORS I guess the asterisk parts could be removed and the path to more or less your source could be used (ssh first, to http path in your SRC_URI)? That's a shot in the dark for me but something to test I'd say :) Quentin
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49366): https://lists.yoctoproject.org/g/yocto/message/49366 Mute This Topic: https://lists.yoctoproject.org/mt/74131888/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
