Using openembbeded build, how to change all git://git.toradex.com to use http?

I am behind a firewall and cannot access git protocol. What do I need to change in order to get a build for my apalis working with just http? Not repo sync worked, but it fails with bitbake.

Hi

Did you checkout this mailing list entry?

With ‘MIRROR’ it should try with the rewritten SRC_URI after it failed with the recipe SRC_URI, using ‘PREMIRROR’ would first try the new SRC_URI and then fall back to the recipe SRC_URI:

e.g. in local.conf

PREMIRRORS += "\
    git://git.toradex.com/.* git://git.toradex.com/PATH;protocol=http \n \
    "

While unlikely, you might have to remove the line ‘git://./. http://sources.toradex.com/V2.7/’ from
meta-toradex-demos/classes/toradex-mirrors.bbclass

Max

I ended up changing the .bb files directly, but this looks like a easier solution for next time.