Openembedded Core Discussions
 help / color / mirror / Atom feed
* Using the correct "xserver-xf86-config_0.1.bbappend
@ 2013-10-21 16:30 Ulf Samuelsson
  2013-10-21 20:21 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Ulf Samuelsson @ 2013-10-21 16:30 UTC (permalink / raw)
  To: openembedded-core, Angstrom-distro-devel

[-- Attachment #1: Type: text/plain, Size: 1101 bytes --]

Trying to build a systemd-gnome-image raspberrypi under Angstrom, with a 
few extra layers.

This fails on "xserver-xf86-config_0.1.[bb|bbappend]"

The extra layer has BBPRIORITY = 20.
meta-beagleboard has BBPRIORITY = 8
meta-raspberrypi has BBPRIORITY = 6 (later changed to 120)

BBLAYERS are in the order meta-<extra layer> meta-beagleboard 
meta-raspberrypi

It looks like bitbake will select the bbappend in the layer with the 
highest priority,
even if that contains a COMPATIBLE_MACHINE clause, which does not
include the current MACHINE.

/Is there any way to make bitbake select the correct bbappend file 
without modifying the BBPRIORITY? /

--------------------------------------------------------------------------------------------
Looks like the xserver-xf86-config for the raspberry-pi fails on

*SRC_URI_append_raspberrypi = " file://xorg.conf.d/*"**
*
When I change to:

*SRC_URI_append_raspberrypi = " file://xorg.conf.d/10-evdev.conf "*

the raspberry pi version completes.

/Wildcards are not allowed?/

-- 
Best Regards
Ulf Samuelsson
eMagii


[-- Attachment #2: Type: text/html, Size: 1736 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using the correct "xserver-xf86-config_0.1.bbappend
  2013-10-21 16:30 Using the correct "xserver-xf86-config_0.1.bbappend Ulf Samuelsson
@ 2013-10-21 20:21 ` Khem Raj
  2013-10-21 23:28   ` Ulf Samuelsson
  2013-10-22  5:13   ` Paul Eggleton
  0 siblings, 2 replies; 5+ messages in thread
From: Khem Raj @ 2013-10-21 20:21 UTC (permalink / raw)
  To: ulf@emagii.com
  Cc: Discussion of the angstrom distribution development,
	Patches and discussions about the oe-core layer

Ulf

On Mon, Oct 21, 2013 at 9:30 AM, Ulf Samuelsson
<openembedded-core@emagii.com> wrote:
> Trying to build a systemd-gnome-image raspberrypi under Angstrom, with a few
> extra layers.
>
> This fails on "xserver-xf86-config_0.1.[bb|bbappend]"
>
> The extra layer has BBPRIORITY = 20.
> meta-beagleboard has BBPRIORITY = 8
> meta-raspberrypi has BBPRIORITY = 6 (later changed to 120)
>
> BBLAYERS are in the order meta-<extra layer> meta-beagleboard
> meta-raspberrypi
>
> It looks like bitbake will select the bbappend in the layer with the highest
> priority,

Not really. All bbappends are selected the order or sequence of them
is governed by how the layers line up in BBPATH

> even if that contains a COMPATIBLE_MACHINE clause, which does not
> include the current MACHINE.
>
> Is there any way to make bitbake select the correct bbappend file without
> modifying the BBPRIORITY?
>
> --------------------------------------------------------------------------------------------
> Looks like the xserver-xf86-config for the raspberry-pi fails on
>
> SRC_URI_append_raspberrypi = " file://xorg.conf.d/*"
>
> When I change to:
>
> SRC_URI_append_raspberrypi = " file://xorg.conf.d/10-evdev.conf "
>
> the raspberry pi version completes.
>
> Wildcards are not allowed?

This is a question of fundamental bitbake semantics/syntax for SRC_URI
and nothing to do with bbappends. and I dont think wildcards in
SRC_URI are reliable, so better be explicit about them.


>
> --
> Best Regards
> Ulf Samuelsson
> eMagii
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using the correct "xserver-xf86-config_0.1.bbappend
  2013-10-21 20:21 ` Khem Raj
@ 2013-10-21 23:28   ` Ulf Samuelsson
  2013-10-22  5:13   ` Paul Eggleton
  1 sibling, 0 replies; 5+ messages in thread
From: Ulf Samuelsson @ 2013-10-21 23:28 UTC (permalink / raw)
  To: Khem Raj
  Cc: Discussion of the angstrom distribution development,
	Patches and discussions about the oe-core layer

On 2013-10-21 22:21, Khem Raj wrote:
> Ulf
>
> On Mon, Oct 21, 2013 at 9:30 AM, Ulf Samuelsson
> <openembedded-core@emagii.com> wrote:
>> Trying to build a systemd-gnome-image raspberrypi under Angstrom, with a few
>> extra layers.
>>
>> This fails on "xserver-xf86-config_0.1.[bb|bbappend]"
>>
>> The extra layer has BBPRIORITY = 20.
>> meta-beagleboard has BBPRIORITY = 8
>> meta-raspberrypi has BBPRIORITY = 6 (later changed to 120)
>>
>> BBLAYERS are in the order meta-<extra layer> meta-beagleboard
>> meta-raspberrypi
>>
>> It looks like bitbake will select the bbappend in the layer with the highest
>> priority,
> Not really. All bbappends are selected the order or sequence of them
> is governed by how the layers line up in BBPATH
Hm, it seemed to work if I increased the BBPRIORITY.

Either method seems to be problematic.

If you build for a certain machine, then you want to define which 
bbappend to use
regardless of BBPATH or BBPRIORITY.

Maybe bitbake needs to know which meta-layer contains the <machine>.conf,
and always select a bbappend in that layer, over bbappends in other layers.

Otherwise you have to edit bblayer.conf every time you want to switch to 
a new machine,
which I think is undesirable.




>> even if that contains a COMPATIBLE_MACHINE clause, which does not
>> include the current MACHINE.
>>
>> Is there any way to make bitbake select the correct bbappend file without
>> modifying the BBPRIORITY?
>>
>> --------------------------------------------------------------------------------------------
>> Looks like the xserver-xf86-config for the raspberry-pi fails on
>>
>> SRC_URI_append_raspberrypi = " file://xorg.conf.d/*"
>>
>> When I change to:
>>
>> SRC_URI_append_raspberrypi = " file://xorg.conf.d/10-evdev.conf "
>>
>> the raspberry pi version completes.
>>
>> Wildcards are not allowed?
> This is a question of fundamental bitbake semantics/syntax for SRC_URI
> and nothing to do with bbappends. and I dont think wildcards in
> SRC_URI are reliable, so better be explicit about them.

Yes, since this problem occured at the same time,
I thought that I'd mention it as well.
Basically the any image build for raspberry pi involving X is broken then.
/Ulf


>
>> --
>> Best Regards
>> Ulf Samuelsson
>> eMagii
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>


-- 
Best Regards
Ulf Samuelsson
ulf@emagii.com
+46 722 427437



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using the correct "xserver-xf86-config_0.1.bbappend
  2013-10-21 20:21 ` Khem Raj
  2013-10-21 23:28   ` Ulf Samuelsson
@ 2013-10-22  5:13   ` Paul Eggleton
  2013-10-22  5:17     ` Khem Raj
  1 sibling, 1 reply; 5+ messages in thread
From: Paul Eggleton @ 2013-10-22  5:13 UTC (permalink / raw)
  To: Khem Raj; +Cc: ulf, openembedded-core

On Monday 21 October 2013 13:21:07 Khem Raj wrote:
> On Mon, Oct 21, 2013 at 9:30 AM, Ulf Samuelsson
> <openembedded-core@emagii.com> wrote:
> > Trying to build a systemd-gnome-image raspberrypi under Angstrom, with a
> > few extra layers.
> > 
> > This fails on "xserver-xf86-config_0.1.[bb|bbappend]"
> > 
> > The extra layer has BBPRIORITY = 20.
> > meta-beagleboard has BBPRIORITY = 8
> > meta-raspberrypi has BBPRIORITY = 6 (later changed to 120)
> > 
> > BBLAYERS are in the order meta-<extra layer> meta-beagleboard
> > meta-raspberrypi
> > 
> > It looks like bitbake will select the bbappend in the layer with the
> > highest priority,
> 
> Not really. All bbappends are selected the order or sequence of them
> is governed by how the layers line up in BBPATH

All bbappends for a recipe will be applied, in ascending layer priority order; 
BBPATH doesn't come into it.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using the correct "xserver-xf86-config_0.1.bbappend
  2013-10-22  5:13   ` Paul Eggleton
@ 2013-10-22  5:17     ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2013-10-22  5:17 UTC (permalink / raw)
  To: Paul Eggleton
  Cc: ulf@emagii.com, Patches and discussions about the oe-core layer

On Mon, Oct 21, 2013 at 10:13 PM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> On Monday 21 October 2013 13:21:07 Khem Raj wrote:
>> On Mon, Oct 21, 2013 at 9:30 AM, Ulf Samuelsson
>> <openembedded-core@emagii.com> wrote:
>> > Trying to build a systemd-gnome-image raspberrypi under Angstrom, with a
>> > few extra layers.
>> >
>> > This fails on "xserver-xf86-config_0.1.[bb|bbappend]"
>> >
>> > The extra layer has BBPRIORITY = 20.
>> > meta-beagleboard has BBPRIORITY = 8
>> > meta-raspberrypi has BBPRIORITY = 6 (later changed to 120)
>> >
>> > BBLAYERS are in the order meta-<extra layer> meta-beagleboard
>> > meta-raspberrypi
>> >
>> > It looks like bitbake will select the bbappend in the layer with the
>> > highest priority,
>>
>> Not really. All bbappends are selected the order or sequence of them
>> is governed by how the layers line up in BBPATH
>
> All bbappends for a recipe will be applied, in ascending layer priority order;
> BBPATH doesn't come into it.

thanks for correction a hand-brain coordination problem .. dont expect
accuracy when jetlgged :)
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-22  5:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-21 16:30 Using the correct "xserver-xf86-config_0.1.bbappend Ulf Samuelsson
2013-10-21 20:21 ` Khem Raj
2013-10-21 23:28   ` Ulf Samuelsson
2013-10-22  5:13   ` Paul Eggleton
2013-10-22  5:17     ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox