diff options
author | Ross Burton <ross.burton@arm.com> | 2022-02-25 11:06:27 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-02-28 08:39:26 -0800 |
commit | 272f2083d46a5a023d0d18dcd3e8540a7c5c1cc8 (patch) | |
tree | 9b2786776df9e2aff8e0c9edbcbdd8ba808401d0 /meta-oe/conf | |
parent | ba34834fdd8785faa5cdfa9ea7fb2425b2efdc27 (diff) | |
download | meta-openembedded-272f2083d46a5a023d0d18dcd3e8540a7c5c1cc8.tar.gz |
layer.conf: change layer priority to match oe-core
Layer priority is the ultimate decider of what recipe is used: if layer
A has recipe foo_1 and layer B has recipe foo_2, if layer A's priority
is higher than B then foo_1 will be used, even though the version in B
is higher, and even if PREFERRED_VERSION_foo is set to 2.
This complicates recipes moving between layers, for example when a newer
version of a recipe (say, python3-wheel) is taken from a layer with a
higher priority (say, meta-python) and moved to a layer with a lower
priority (say, oe-core) then it has to be removed before it is added:
there is no way to have it in both layers and work correctly.
Higher priorities are useful in distribution layers where you may want
to override specific recipes without any other fuss. However as all of
the layers in meta-oe simply add more recipes in defined areas, there's
no need to have a higher layer priority.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/conf')
-rw-r--r-- | meta-oe/conf/layer.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf index 93f3dc5807..88715d5e82 100644 --- a/meta-oe/conf/layer.conf +++ b/meta-oe/conf/layer.conf | |||
@@ -21,7 +21,7 @@ BBFILE_PATTERN_openembedded-layer := "^${LAYERDIR}/" | |||
21 | # choosing carefully how this layer interacts with all of the | 21 | # choosing carefully how this layer interacts with all of the |
22 | # other layers. | 22 | # other layers. |
23 | 23 | ||
24 | BBFILE_PRIORITY_openembedded-layer = "6" | 24 | BBFILE_PRIORITY_openembedded-layer = "5" |
25 | 25 | ||
26 | # only activates content when identified layers are present, | 26 | # only activates content when identified layers are present, |
27 | # to ensure yocto compatibility check pass | 27 | # to ensure yocto compatibility check pass |