[OE-core] Multiple git repos in SRC_URI and/or git submodules support

Koen Kooi koen at dominion.thruhere.net
Mon Oct 10 18:19:46 UTC 2011


Hi,

In meta-oe we have a recipe that is using git submodules to drag it parts of the source and to do it is doing the submodule fetching in do_configure. This is bad for various reasons, so I'd like to fix it. The options I see:

1) Make fetch2 to do git clone --recursive and later realize it is now non-determistic
2) Use multiple git repos in SRC_URI and then to cp/mv/etc to emulate submodules
3) convince upstream submodules are bad

I'm not going to do 1), 3) is unlikely, so I want to ask if 2) is already supported. I've seen various patches that add an 'unpackdir' or similar, but I can't find any docs on it. Can someone enlighten me on the current status of that?

regards,

Koen



More information about the Openembedded-core mailing list