From 3b89442fdc05c579777d670bddf30d7c29b83194 Mon Sep 17 00:00:00 2001 From: Francisco Gil Date: Wed, 18 Mar 2026 09:16:00 +0100 Subject: [PATCH] psplash: allow overriding the splash logo image from Yocto https://onedigi.atlassian.net/browse/DEL-9816 Signed-off-by: Francisco Gil --- .../recipes-core/psplash/psplash_git.bbappend | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/meta-digi-dey/recipes-core/psplash/psplash_git.bbappend b/meta-digi-dey/recipes-core/psplash/psplash_git.bbappend index 3be9e3bca..1b179e3c6 100644 --- a/meta-digi-dey/recipes-core/psplash/psplash_git.bbappend +++ b/meta-digi-dey/recipes-core/psplash/psplash_git.bbappend @@ -1,6 +1,9 @@ -# Copyright (C) 2016-2024, Digi International Inc. +# Copyright (C) 2016-2026, Digi International Inc. FILESEXTRAPATHS:prepend:dey := "${THISDIR}/files:" +SPLASH_LOGO_PNG ?= "${WORKDIR}/digi_logo.png" + +SPLASH_IMAGES = "file://logo.png;outsuffix=default" SRC_URI:append:dey = " \ file://0001-colors-modify-psplash-colors-to-match-Digi-scheme.patch \ @@ -9,6 +12,7 @@ SRC_URI:append:dey = " \ do_configure:prepend:dey() { \cp --remove-destination ${WORKDIR}/psplash-digi-bar.png ${S}/base-images/psplash-bar.png -} - -SPLASH_IMAGES = "file://logo.png;outsuffix=default" + if [ "${SPLASH_LOGO_PNG}" != "${WORKDIR}/digi_logo.png" ]; then + \cp --remove-destination "${SPLASH_LOGO_PNG}" "${WORKDIR}/logo.png" + fi +} \ No newline at end of file