]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
psplash: enable fullscreen and disable startup-msg
authorMichael Opdenacker <michael.opdenacker@bootlin.com>
Thu, 25 May 2023 15:05:32 +0000 (17:05 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 May 2023 15:52:42 +0000 (16:52 +0100)
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>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/psplash/psplash_git.bb

index aecbd2ce467e0b5d9df1530d1084e9e33e4890eb..e590eb978f36612d41d030d5b3e4bf591b0cc48a 100644 (file)
@@ -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"