Skip to contentSkip to conversation

psplash: Let distro override the default splash image if it provides

PATCH Applied Khem Raj 2 participants 2 messages Apr 14, 2017 – Apr 17, 2017

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 6/6 psplash: Let distro override the default splash image if it provides

BSPs should not be overriding the distro splash images, here we reduce the priority of psplash-raspberrypi below 100 so the defaults from distros can kick in.

---
 recipes-core/psplash/psplash_git.bbappend | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-core/psplash/psplash_git.bbappend +3 -1
index 65dc30f..698564b 100644
@@ -1,2 +1,4 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-SPLASH_IMAGES += "file://psplash-raspberrypi-img.h;outsuffix=raspberrypi"
+SPLASH_IMAGES_append_rpi = " file://psplash-raspberrypi-img.h;outsuffix=raspberrypi"
+ALTERNATIVE_PRIORITY_psplash-raspberrypi[psplash] = "10"
+
Signature · 1 line
2.12.2
#1 lore raw
Quoted 22 lines · Khem Raj

BSPs should not be overriding the distro splash images, here we reduce the priority of psplash-raspberrypi below 100 so the defaults from distros can kick in.

---
 recipes-core/psplash/psplash_git.bbappend | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-core/psplash/psplash_git.bbappend +3 -2
index 65dc30f..698564b 100644
@@ -1,2 +1,4 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-SPLASH_IMAGES += "file://psplash-raspberrypi-img.h;outsuffix=raspberrypi"
+SPLASH_IMAGES_append_rpi = " file://psplash-raspberrypi-img.h;outsuffix=raspberrypi"
+ALTERNATIVE_PRIORITY_psplash-raspberrypi[psplash] = "10"
+
--

2.12.2

Quoted 5 lines

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Merged to master. Thanks!

--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan