Using openembbeded build, how to change all git:// 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.


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

    git://* git://;protocol=http \n \

While unlikely, you might have to remove the line ‘git://./.’ from


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