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.rap...@linaro.org>
---
 meta/recipes-core/psplash/files/psplash-systemd.service | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#211984): 
https://lists.openembedded.org/g/openembedded-core/message/211984
Mute This Topic: https://lists.openembedded.org/mt/111412313/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to