[OE-core] RSS difficulties
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Feb 3 11:20:07 UTC 2017
On Fri, 2017-02-03 at 11:10 +0000, Phil Blundell wrote:
> I'm having a few problems adapting our build setup to work with
> recipe specific sysroots. More specifically, I am finding it
> difficult to get the correct set of components installed into the
> recipe-sysroot in all cases. In some cases I am getting too much
> (which causes build failures if oe attempts to stage two things that
> install the same file) and in other cases I am not getting enough.
>
> Could somebody explain, ideally using only small words, how the set
> of things to populate in the recipe-sysroot is determined? I assume
> it is based on the task dependency graph somehow but I'm not quite
> sure which relationships I ought to be looking at.
It comes down to what setscene_depvalid() in sstate.bbclass returns. If
that returns False a given dependency is installed, it if returns True,
it is skipped and not installed.
Reading that function should give some clues as to the logic it
applies. It operates not on a full task graph but on version collapsed
only to sstate tasks.
The logic should mirror what would get installed from sstate if that
sstate were available, hence the logic is somewhat tested and not just
new for RSS. That doesn't mean its right in all cases though!
If that doesn't help, perhaps some specific examples of what you think
should be being installed and isn't or things which are being installed
and shouldn't might help.
Cheers,
Richard
More information about the Openembedded-core
mailing list