From: Mikko Rapeli Date: Thu, 27 Feb 2025 09:12:32 +0000 (+0200) Subject: psplash: ignore startup errors in psplash-systemd.service X-Git-Tag: yocto-5.2~374 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=580ae81e102bf999cb89f05430c737210253d90a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git psplash: ignore startup errors in psplash-systemd.service 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/psplash/files/psplash-systemd.service b/meta/recipes-core/psplash/files/psplash-systemd.service index b618be1ba62..15a894d577a 100644 --- a/meta/recipes-core/psplash/files/psplash-systemd.service +++ b/meta/recipes-core/psplash/files/psplash-systemd.service @@ -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