diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-22 13:55:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-25 10:41:22 +0000 |
commit | 950615f34df2e3ff3134c4d3b4b5fbc67d989214 (patch) | |
tree | b75edf20aabe53958f929076f20d8f9a5ed0f7c6 /meta/recipes-core | |
parent | 9ae26cfeea354039c1bdb42fb7289be55115681d (diff) | |
download | poky-950615f34df2e3ff3134c4d3b4b5fbc67d989214.tar.gz |
psplash: Fix systemd service dependencies
Avoid:
qemux86-64 psplash-systemd[135]: Error unable to open fifo
by adding the missing dependency on /run/ where the fifo resides.
Also, psplash-systemd requires psplash-start, not the other way around
as the splash creates the fifo which the other then needs to open.
(From OE-Core rev: e31ad1b58e8dbac2e299bc0cb872c3a82db14717)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/psplash/files/psplash-start.service | 2 | ||||
-rw-r--r-- | meta/recipes-core/psplash/files/psplash-systemd.service | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/psplash/files/psplash-start.service b/meta/recipes-core/psplash/files/psplash-start.service index 9de8f6321a..af9d5d6c20 100644 --- a/meta/recipes-core/psplash/files/psplash-start.service +++ b/meta/recipes-core/psplash/files/psplash-start.service | |||
@@ -1,7 +1,7 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=Start psplash boot splash screen | 2 | Description=Start psplash boot splash screen |
3 | DefaultDependencies=no | 3 | DefaultDependencies=no |
4 | Requires=psplash-systemd.service | 4 | RequiresMountsFor=/run |
5 | 5 | ||
6 | [Service] | 6 | [Service] |
7 | ExecStart=/usr/bin/psplash | 7 | ExecStart=/usr/bin/psplash |
diff --git a/meta/recipes-core/psplash/files/psplash-systemd.service b/meta/recipes-core/psplash/files/psplash-systemd.service index e14f42032d..249aa54039 100644 --- a/meta/recipes-core/psplash/files/psplash-systemd.service +++ b/meta/recipes-core/psplash/files/psplash-systemd.service | |||
@@ -2,6 +2,8 @@ | |||
2 | Description=Start psplash-systemd progress communication helper | 2 | Description=Start psplash-systemd progress communication helper |
3 | DefaultDependencies=no | 3 | DefaultDependencies=no |
4 | After=systemd-start.service | 4 | After=systemd-start.service |
5 | Requires=psplash-start.service | ||
6 | RequiresMountsFor=/run | ||
5 | 7 | ||
6 | [Service] | 8 | [Service] |
7 | ExecStart=/usr/bin/psplash-systemd | 9 | ExecStart=/usr/bin/psplash-systemd |