From fffae7b722ae687af3b89769cf9c676bd12ae0c7 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Tue, 9 Mar 2021 13:18:16 +0000
Subject: [PATCH] psplash: Move logo in an assets directory

In this way, multiple recipes can take advantage of various assets (eg.
images, logos).

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .../psplash/files => assets}/ostc-logo-small.png    | Bin
 .../recipes-core/psplash/psplash_%.bbappend         |   2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename {meta-ohos-core/recipes-core/psplash/files => assets}/ostc-logo-small.png (100%)

diff --git a/meta-ohos-core/recipes-core/psplash/files/ostc-logo-small.png b/assets/ostc-logo-small.png
similarity index 100%
rename from meta-ohos-core/recipes-core/psplash/files/ostc-logo-small.png
rename to assets/ostc-logo-small.png
diff --git a/meta-ohos-core/recipes-core/psplash/psplash_%.bbappend b/meta-ohos-core/recipes-core/psplash/psplash_%.bbappend
index 0e21d109..6563df94 100644
--- a/meta-ohos-core/recipes-core/psplash/psplash_%.bbappend
+++ b/meta-ohos-core/recipes-core/psplash/psplash_%.bbappend
@@ -1,2 +1,2 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+FILESEXTRAPATHS_prepend := "${OHOS_COREBASE}/assets:"
 SPLASH_IMAGES = "file://ostc-logo-small.png;outsuffix=default"
-- 
GitLab