On Mon, May 11, 2020 at 2:03 AM Dawod <[email protected]> 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. > > can I do some thing like that or I will have to change it manually every time > ?
You can add fallback rules to MIRRORS (either globally or per-recipe). See the last few lines of meta/classes/mirrors.bbclass as an example. > Thank you, > -- > > Mohamed Dawod > Computer Engineer > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49367): https://lists.yoctoproject.org/g/yocto/message/49367 Mute This Topic: https://lists.yoctoproject.org/mt/74132076/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
