diff mbox series

psplash: enable fullscreen and disable startup-msg

Message ID 20230525150532.1624622-1-michael.opdenacker@bootlin.com
State New
Headers show
Series psplash: enable fullscreen and disable startup-msg | expand

Commit Message

Michael Opdenacker May 25, 2023, 3:05 p.m. UTC
From: Michael Opdenacker <michael.opdenacker@bootlin.com>

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.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
CC: Tim Orling <ticotimo@gmail.com>
CC: Khem Raj <raj.khem@gmail.com>
 meta/recipes-core/psplash/psplash_git.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series


diff --git a/meta/recipes-core/psplash/psplash_git.bb b/meta/recipes-core/psplash/psplash_git.bb
index aecbd2ce46..e590eb978f 100644
--- a/meta/recipes-core/psplash/psplash_git.bb
+++ b/meta/recipes-core/psplash/psplash_git.bb
@@ -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_LINK_NAME[psplash] = "${bindir}/psplash"