From 0c3aaec0cf4f5c5f0bed48a73b8e2e6065468e03 Mon Sep 17 00:00:00 2001
From: Marta Rybczynska <marta.rybczynska@huawei.com>
Date: Thu, 28 Oct 2021 08:16:23 +0200
Subject: [PATCH] bblayers.conf: move meta-oniro-staging layer order

Layers order decides on the override of classes (layer priorities do
not work for this [1]). To override a class from poky we need to
move the overriding class (which is in meta-oniro-staging) before on
the layers list.

[1] https://www.yoctoproject.org/pipermail/yocto/2012-January/004379.html

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
---
 flavours/linux/bblayers.conf.sample | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flavours/linux/bblayers.conf.sample b/flavours/linux/bblayers.conf.sample
index 8309b32a..d03bb8bc 100644
--- a/flavours/linux/bblayers.conf.sample
+++ b/flavours/linux/bblayers.conf.sample
@@ -10,13 +10,13 @@ BBPATH = "${TOPDIR}"
 BBFILES ?= ""
 
 BBLAYERS ?= " \
+  ##OEROOT##/../oniro/meta-oniro-staging \
   ##OEROOT##/meta \
   ##OEROOT##/../meta-clang \
   ##OEROOT##/../meta-zephyr \
   ##OEROOT##/../meta-zephyr-bsp \
   ##OEROOT##/../oniro/meta-oniro-core \
   ##OEROOT##/../oniro/meta-oniro-blueprints \
-  ##OEROOT##/../oniro/meta-oniro-staging \
   ##OEROOT##/../meta-freertos \
   ##OEROOT##/../meta-intel \
   ##OEROOT##/../meta-seco-intel \
-- 
GitLab