]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
psplash: ignore startup errors in psplash-systemd.service
authorMikko Rapeli <mikko.rapeli@linaro.org>
Thu, 27 Feb 2025 09:12:32 +0000 (11:12 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Feb 2025 07:48:53 +0000 (07:48 +0000)
psplash-systemd.service depends on FIFO created by psplash-start@fb0.service.
This FIFO can be removed due to signals or /dev/fb0 related errors
when psplash-start@fb0.service exits. This exit can happen
when psplash-systemd.service is being started. Thus ignore
all errors in psplash-systemd.service startup.
There are too many ways things can go wrong and all of them
leave open race conditions unless a single process handles
all of the psplash usecases including progress bar updates.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/psplash/files/psplash-systemd.service

index b618be1ba62086c2e3eb15cec4119b94414bc217..15a894d577aec8368e748b5ec48cde7c8f92457d 100644 (file)
@@ -5,8 +5,9 @@ After=psplash-start@fb0.service
 Requires=psplash-start@fb0.service
 RequiresMountsFor=/run
 ConditionFileIsExecutable=/usr/bin/psplash
+ConditionFileIsExecutable=/usr/bin/psplash-systemd
 ConditionPathExists=/run/psplash_fifo
 
 [Service]
-ExecStart=/usr/bin/psplash-systemd
+ExecStart=-/usr/bin/psplash-systemd
 RemainAfterExit=yes