diff options
| author | Mikko Rapeli <mikko.rapeli@linaro.org> | 2025-02-27 11:12:32 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-28 07:49:18 +0000 |
| commit | 7deed33f2c950a0a43b7d2d93e73f7feedc4ab9d (patch) | |
| tree | 2cd43072e40cf6dfb57104727bfce36124f16f11 /meta/recipes-core/psplash/files | |
| parent | 22c45873e9568e918996edd22ccc540214c1f7ee (diff) | |
| download | poky-7deed33f2c950a0a43b7d2d93e73f7feedc4ab9d.tar.gz | |
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.
(From OE-Core rev: 580ae81e102bf999cb89f05430c737210253d90a)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/psplash/files')
| -rw-r--r-- | meta/recipes-core/psplash/files/psplash-systemd.service | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |||
| 5 | Requires=psplash-start@fb0.service | 5 | Requires=psplash-start@fb0.service |
| 6 | RequiresMountsFor=/run | 6 | RequiresMountsFor=/run |
| 7 | ConditionFileIsExecutable=/usr/bin/psplash | 7 | ConditionFileIsExecutable=/usr/bin/psplash |
| 8 | ConditionFileIsExecutable=/usr/bin/psplash-systemd | ||
| 8 | ConditionPathExists=/run/psplash_fifo | 9 | ConditionPathExists=/run/psplash_fifo |
| 9 | 10 | ||
| 10 | [Service] | 11 | [Service] |
| 11 | ExecStart=/usr/bin/psplash-systemd | 12 | ExecStart=-/usr/bin/psplash-systemd |
| 12 | RemainAfterExit=yes | 13 | RemainAfterExit=yes |
