]> code.ossystems Code Review - openembedded-core.git/commit
yocto-compat-layer: add --additional-layers
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 11 Apr 2017 18:38:41 +0000 (20:38 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Apr 2017 14:02:14 +0000 (15:02 +0100)
commit0e8528f7c6201e8a5d2799123241c0e1b85081ce
tree3a5250ec547646023d89d370a5b5095422c362fd
parent67f9a8759f47680dbf349797801b2a1e8d149377
yocto-compat-layer: add --additional-layers

The new --addditional-layers parameter takes a list of layer
directories and adds them to the build configuration before starting
testing. The resulting base configuration then more closely matches
a full distro.

This is relevant in two cases:
1. some layers like meta-freescale dynamically enable more recipes
   in their layer.conf depending on which other layers are active,
   so testing only against OE-core might miss problems which occur
   only when also some other layers are active
2. BSP layers might be fine in combination with machines from
   OE-core, but might break in combination with some other machines

As before, test_signatures only warns about signature changes
introduced by the layer which is under testing, and not those changes
introduced by the additional layers.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/yocto-compat-layer.py