Using the correct "xserver-xf86-config_0.1.bbappend
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?/
Signature · 3 lines
Best Regards Ulf Samuelsson eMagii
Ulf
Quoted 9 lines · Ulf Samuelsson
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)
Quoted 5 lines
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
Quoted 11 lines
even if that contains a
COMPATIBLE_MACHINEclause, 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/*"
Quoted 7 lines
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.
Quoted 12 lines
--
Best Regards
Ulf Samuelsson
eMagii_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 13 lines · Khem Raj
Ulf
Quoted 9 lines · Ulf Samuelsson
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)
Quoted 7 lines
Quoted 5 lines
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.
Quoted 13 lines
Quoted 13 lines
even if that contains a
COMPATIBLE_MACHINEclause, 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:
Quoted 8 lines
Quoted 5 lines
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_URIand nothing to do with bbappends. and I dont think wildcards inSRC_URIare 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
Quoted 12 lines
Quoted 12 lines
--
Best Regards
Ulf Samuelsson
eMagii_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 4 lines
Best Regards Ulf Samuelsson [email protected] +46 722 427437
Quoted 11 lines · On Monday 21 October 2013 13:21:07 Khem Raj wrote:
Quoted 9 lines · Ulf Samuelsson
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)
Quoted 8 lines
Quoted 5 lines
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
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 15 lines · Paul Eggleton
Quoted 14 lines · On Monday 21 October 2013 13:21:07 Khem Raj wrote:
Quoted 12 lines · Ulf Samuelsson
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
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
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 :)
Quoted 8 lines
Cheers,
Paul--
Paul Eggleton
Intel Open Source Technology Centre