From 475e704a9e729272ee357cc156ff448b9cb97f0a Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Mon, 25 Oct 2021 23:22:25 +0100
Subject: [PATCH] psplash: Configure another package for the oniro splash

This being a separate package, SPLASH can be used to switch to the
preferred one. The distro can set the default one for oniro. In this
way, the oniro splash configuration is going to play nicely with other
splash configurations external layers might bring (see
meta-raspberrypi).

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 assets/psplash-oniro-img.png                            | 1 +
 meta-oniro-core/recipes-core/psplash/psplash_%.bbappend | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 120000 assets/psplash-oniro-img.png

diff --git a/assets/psplash-oniro-img.png b/assets/psplash-oniro-img.png
new file mode 120000
index 00000000..30d65dd4
--- /dev/null
+++ b/assets/psplash-oniro-img.png
@@ -0,0 +1 @@
+oniro-logo-small.png
\ No newline at end of file
diff --git a/meta-oniro-core/recipes-core/psplash/psplash_%.bbappend b/meta-oniro-core/recipes-core/psplash/psplash_%.bbappend
index e6b272b5..25c70dde 100644
--- a/meta-oniro-core/recipes-core/psplash/psplash_%.bbappend
+++ b/meta-oniro-core/recipes-core/psplash/psplash_%.bbappend
@@ -3,7 +3,7 @@
 # SPDX-License-Identifier: Apache-2.0
 
 FILESEXTRAPATHS_prepend := "${ONIRO_COREBASE}/assets:"
-SPLASH_IMAGES = "file://oniro-logo-small.png;outsuffix=default"
+SPLASH_IMAGES_append = " file://psplash-oniro-img.png;outsuffix=oniro"
 
 EXTRA_OECONF += "--enable-img-fullscreen --disable-startup-msg --disable-progress-bar"
 
-- 
GitLab