From e4dcf6c95e7f6983dbfaf3e3eb635a228c70e08d Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Tue, 23 Aug 2022 15:40:40 +0200
Subject: [PATCH] oniro.inc: Fix flavour name case in DISTRO_NAME

When DISTRO_NAME was refactored, it reused the lowercase variant of
flavour name changing in this way its style. This fixes it to use
the "pretty" flavour name.

Fixes https://gitlab.eclipse.org/eclipse/oniro-core/oniro/-/issues/786

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 meta-oniro-core/conf/distro/include/oniro.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oniro-core/conf/distro/include/oniro.inc b/meta-oniro-core/conf/distro/include/oniro.inc
index 0b78537e..12e14f5e 100644
--- a/meta-oniro-core/conf/distro/include/oniro.inc
+++ b/meta-oniro-core/conf/distro/include/oniro.inc
@@ -4,7 +4,7 @@
 
 ONIRO_FLAVOUR = "${@'${ONIRO_FLAVOUR_PRETTY}'.lower()}"
 DISTRO = "oniro-${ONIRO_FLAVOUR}"
-DISTRO_NAME = "Oniro Project Base ${ONIRO_FLAVOUR} Distro"
+DISTRO_NAME = "Oniro Project Base ${ONIRO_FLAVOUR_PRETTY} Distro"
 
 require conf/distro/include/security_flags.inc
 
-- 
GitLab