summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-22 13:55:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-25 10:41:15 +0000
commite31ad1b58e8dbac2e299bc0cb872c3a82db14717 (patch)
treebb262ead5fd2310feae7147806bf75e7bed3f4a4
parentb4063b16082604554c7c19b369ebddd27061f372 (diff)
downloadopenembedded-core-contrib-e31ad1b58e8dbac2e299bc0cb872c3a82db14717.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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/psplash/files/psplash-start.service2
-rw-r--r--meta/recipes-core/psplash/files/psplash-systemd.service2
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 @@
[Unit]
Description=Start psplash boot splash screen
DefaultDependencies=no
-Requires=psplash-systemd.service
+RequiresMountsFor=/run
[Service]
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 @@
Description=Start psplash-systemd progress communication helper
DefaultDependencies=no
After=systemd-start.service
+Requires=psplash-start.service
+RequiresMountsFor=/run
[Service]
ExecStart=/usr/bin/psplash-systemd