psplash: fix bbappend for different distro than "dey"
This commit fixes a build issue using meta-digi layer with a different distro than "dey". Also simplified the bbappend to avoid creating a custom do_patch_png() task before do_configure(). Reported-by: Stephan Klatt <skladd@users.noreply.github.com> Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
2a8403940d
commit
6b5b341a38
|
|
@ -1,12 +1,12 @@
|
|||
# Copyright (C) 2016 Digi International
|
||||
# Copyright (C) 2016-2024 Digi International Inc.
|
||||
|
||||
FILESEXTRAPATHS:prepend:dey := "${THISDIR}/files:"
|
||||
|
||||
SRC_URI += " \
|
||||
SRC_URI:append:dey = " \
|
||||
file://0001-colors-modify-psplash-colors-to-match-Digi-scheme.patch \
|
||||
file://psplash-digi-bar.png \
|
||||
"
|
||||
do_patch_png () {
|
||||
cp ${WORKDIR}/psplash-digi-bar.png ${S}/base-images/psplash-bar.png
|
||||
|
||||
do_configure:prepend:dey() {
|
||||
\cp --remove-destination ${WORKDIR}/psplash-digi-bar.png ${S}/base-images/psplash-bar.png
|
||||
}
|
||||
addtask patch_png after do_patch before do_configure
|
||||
|
|
|
|||
Loading…
Reference in New Issue