[yocto] Variable locality too restricted.

Koen Kooi koen at dominion.thruhere.net
Wed Dec 7 06:07:54 PST 2011


Op 7 dec. 2011, om 15:05 heeft Paul Eggleton het volgende geschreven:

> On Wednesday 07 December 2011 06:52:25 Chris Larson wrote:
>> On Wed, Dec 7, 2011 at 6:44 AM, David Nyström <David.Nystrom at enea.com> 
> wrote:
>>> I'm trying to create a setup for qemuppc.
>>> 
>>> Goals:
>>> core-image-minimal + virtual/kernel.
>>> core-image-minimal + virtual/kernel with modified .config for debug
>>> flavoured kernel.
>>> 
>>> Problems:
>>> PREFERRED_PROVIDER seems to be restricted to local.conf, distro and
>>> machine.
>> This is incorrect. It can be anywhere in the configuration metadata.
>> bitbake.conf includes a variety of config files, not just
>> distro/machine. Read that to see other existing files which get
>> included. Further, you could create a .conf/.inc which you include
>> from your machine .conf, if your goal is just to avoid duplication.
> 
> Changing MACHINE has other implications though; do we not have any other way 
> to switch out the kernel on a per-image basis?

And how would that work from a packaging perspective? AIUI changing DISTRO/MACHINE flags in an image is a recipe for failure.

regards,

Koen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20111207/eafbfef2/attachment.pgp>


More information about the yocto mailing list