From f4f124484ff2e028a303e850512ecdf9393fa67a Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Wed, 26 Jan 2022 16:59:58 +0100
Subject: [PATCH] zephyr/local.conf.sample: Avoid build warnings for rauc and
 security layers

Both layers are currently only targeting the linux flavour so we can
disable the warnings for the flavours where they are not in scope.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 flavours/zephyr/local.conf.sample | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/flavours/zephyr/local.conf.sample b/flavours/zephyr/local.conf.sample
index 021700f8..667247ba 100644
--- a/flavours/zephyr/local.conf.sample
+++ b/flavours/zephyr/local.conf.sample
@@ -262,3 +262,7 @@ CONF_VERSION = "2"
 # *and* the project you are building has a public sstate cache, you may choose to uncomment
 # this line and use the sstate cache published by Oniro Project.
 # SSTATE_MIRRORS = "file://.* https://cache.ostc-eu.org/bitbake/sstate-cache/PATH;downloadfilename=PATH \n"
+
+# Avoid warnings for included layers
+SKIP_META_SECURITY_SANITY_CHECK = "1"
+SKIP_META_RAUC_FEATURE_CHECK = "1"
-- 
GitLab