]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
psplash: Fix systemd service dependencies
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 22 Feb 2020 13:55:25 +0000 (13:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Feb 2020 10:41:15 +0000 (10:41 +0000)
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>
meta/recipes-core/psplash/files/psplash-start.service
meta/recipes-core/psplash/files/psplash-systemd.service

index 9de8f6321ad006a62270f5259c8e0149ee95553b..af9d5d6c205e3b5f14fbc21b1f154ec0cdeacdfa 100644 (file)
@@ -1,7 +1,7 @@
 [Unit]
 Description=Start psplash boot splash screen
 DefaultDependencies=no
-Requires=psplash-systemd.service
+RequiresMountsFor=/run
 
 [Service]
 ExecStart=/usr/bin/psplash
index e14f42032d8c469a819a332bddafe8cf23caaed6..249aa540394490dc7bcc64ee550d92086e59cee3 100644 (file)
@@ -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