Message ID | 20250227091232.2494179-1-mikko.rapeli@linaro.org |
---|---|
State | Accepted, archived |
Commit | 580ae81e102bf999cb89f05430c737210253d90a |
Headers | show |
Series | psplash: ignore startup errors in psplash-systemd.service | expand |
diff --git a/meta/recipes-core/psplash/files/psplash-systemd.service b/meta/recipes-core/psplash/files/psplash-systemd.service index b618be1ba6..15a894d577 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
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> --- meta/recipes-core/psplash/files/psplash-systemd.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)