summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-05-25 17:05:32 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-31 16:52:42 +0100
commit31be4944528c6266eda6e8ab07cdc81a6c906c8b (patch)
treeb691b1683fbc8f80c79bfb8e08e90658a22ce9ad
parent28c704bdf731f1c5012b74e4fdb899622f15a7b1 (diff)
downloadopenembedded-core-31be4944528c6266eda6e8ab07cdc81a6c906c8b.tar.gz
psplash: enable fullscreen and disable startup-msg
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>
-rw-r--r--meta/recipes-core/psplash/psplash_git.bb5
1 files changed, 4 insertions, 1 deletions
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_PRIORITY = "100"
ALTERNATIVE_LINK_NAME[psplash] = "${bindir}/psplash"