Skip to contentSkip to conversation

psplash: enable fullscreen and disable startup-msg

PATCH New [email protected] 1 participant 1 message May 25, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 psplash: enable fullscreen and disable startup-msg

From: Michael Opdenacker <[email protected]>

by setting PACKAGECONFIG entries
- fullscreen wasn't set by default but caused issues displaying the image (image translated upwards, white stripe at the bottom)
- startup-msg was set by default but didn't seem to work, showing a white stripe in the lower half of the display.
- progress-bar was already enabled, but it can now be disabled through PACKAGECONFIG.

---
 meta/recipes-core/psplash/psplash_git.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-core/psplash/psplash_git.bb +4 -1
index aecbd2ce46..e590eb978f 100644
@@ -65,9 +65,12 @@ S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig update-rc.d update-alternatives systemd
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} progress-bar fullscreen"
 
 PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd"
+PACKAGECONFIG[fullscreen] = "--enable-img-fullscreen"
+PACKAGECONFIG[startup-msg] = ",--disable-startup-msg"
+PACKAGECONFIG[progress-bar] = ",--disable-progress-bar"
 
 ALTERNATIVE_PRIORITY = "100"
 ALTERNATIVE_LINK_NAME[psplash] = "${bindir}/psplash"
Signature · 1 line
2.34.1