mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/psplash: fix systemd unit ordering and dependencies
Fix a typo in the dependencies, and switch the type to 'exec'. This ensures that the psplash-systemd service will find the FIFO created by psplash. Change the psplash-systemd dependency to BindsTo, so stopping psplash itself will also end this service and free resources. psplash-start service need to start early, otherwise it might try to compete/take away the framebuffer from the final graphical stack. Order it before sysinit.target. Signed-off-by: Norbert Lange <nolange79@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
4a1bcbe17e
commit
087115b96a
@@ -2,8 +2,10 @@
|
|||||||
Description=Starts Psplash Boot screen
|
Description=Starts Psplash Boot screen
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
RequiresMountsFor=/run
|
RequiresMountsFor=/run
|
||||||
|
Before=sysinit.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Type=exec
|
||||||
ExecStart=/usr/bin/psplash -n
|
ExecStart=/usr/bin/psplash -n
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Start psplash-systemd progress communication helper
|
Description=Start psplash-systemd progress communication helper
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
After=systemd-start.service
|
After=psplash-start.service
|
||||||
Requires=psplash-start.service
|
BindsTo=psplash-start.service
|
||||||
RequiresMountsFor=/run
|
RequiresMountsFor=/run
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|||||||
Reference in New Issue
Block a user