Commit 619a6e46 authored by Andrei Gherzan's avatar Andrei Gherzan 🐧
Browse files

oniro.inc: Force bbappends parser behaviour to avoid surpises

BB_DANGLINGAPPENDS_WARNONLY controls how the parser behaves when
dangling bbappends are found. When not defined (or defined to 0/no), it
errors out and forces for these to be updated and handled accordingly.
We rely on this behaviour to force us to forward port changes or drop if
needed. The problem is that some layers might (in various ways) define
this to only warn in this case breaking our CI and project health
assumptions.

To avoid this, we force this in the inc included by all our distros.
Doing this in local.conf is problematic this would change behaviour by
just importing a layer.

Fixes: eclipse/oniro-core/oniro#751

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent 7792a656
......@@ -9,3 +9,5 @@ INHERIT += "oniro-sanity"
# Configuration needed for meta-java layer
PREFERRED_PROVIDER_virtual/java-initial-native ?= "cacao-initial-native"
PREFERRED_PROVIDER_virtual/java-native ?= "cacao-native"
BB_DANGLINGAPPENDS_WARNONLY:forcevariable = "0"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment