Skip to contentSkip to conversation

oe-core and mercurial

DISCUSSION Chris Elston 3 participants 4 messages May 31, 2011

lore
Share & tools
lore
#0 lore raw

I'm just getting started with oe (specifically oe-core) and ran into a confusing problem that took me a minute or two to sort out.

The instructions here (which I think are for oe, not core)
http://www.openembedded.org/index.php/OEandYourDistro don't mention that you need mercurial, whereas the page here:
http://www.openembedded.org/index.php/Required_software
does.

I believe that this doesn't matter for oe because it has the mercurial-native recipe, but this isn't the case for oe-core.

Admittedly sanity.bbclass does check for the presence of hg and warn that it's missing. I initially didn't see this message and as far as I could tell my bitbake command returned success having only built the native recipes.

So the question is, does the OEandYourDistro page need updating for oe-core? In which case, where do I request a wiki account to do so? Or alternatively, should oe-core include the mercurial-native recipe to cover this case? Discuss :-)

Cheers,

Chris.

#1 lore raw
Quoted 4 lines · Chris Elston

So the question is, does the OEandYourDistro page need updating for oe-core? In which case, where do I request a wiki account to do so?  Or alternatively, should oe-core include the mercurial-native recipe to cover this case?  Discuss :-)

I would think oe-core should contain the recipe and use it as appropriate when hg:// is in SRC_URI, personally.

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
#2 lore raw
In reply to Chris Elston
Quoted 8 lines · Chris Elston

I'm just getting started with oe (specifically oe-core) and ran into a confusing problem that took me a minute or two to sort out.

The instructions here (which I think are for oe, not core)
http://www.openembedded.org/index.php/OEandYourDistro don't mention that you need mercurial, whereas the page here:
http://www.openembedded.org/index.php/Required_software
does.

that page needs updating

Quoted 11 lines

I believe that this doesn't matter for oe because it has the mercurial-native recipe, but this isn't the case for oe-core.

Admittedly sanity.bbclass does check for the presence of hg and warn that it's missing. I initially didn't see this message and as far as I could tell my bitbake command returned success having only built the native recipes.

So the question is, does the OEandYourDistro page need updating for oe-core? In which case, where do I request a wiki account to do so?

yes send request to Tom King. account creation is protected for spamming reasons.

 Or

Quoted 3 lines

alternatively, should oe-core include the mercurial-native recipe to cover this case?  Discuss :-)

Well it can but usually OE does not need a captive version of mercurial so it can use the one installed on the build machine.

Quoted 10 lines

Cheers,

Chris.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 7 lines · Khem Raj

 Or

Quoted 3 lines

alternatively, should oe-core include the mercurial-native recipe to cover this case?  Discuss :-)

Well it can but usually OE does not need a captive version of mercurial so it can use the one installed on the build machine.

Which is what ASSUME_PROVIDED is for..

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics