mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 23:47:49 +00:00
systemd: cleanup hwdb.service
Use systemd-hwdb instead of deprecated udevadm hwdb command and fix ordering - it should be pulled in by sysinit.target, not basic.target. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
6095b46cf7
commit
03b32a6f08
@ -1,13 +1,14 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Update hwdb.bin
|
Description=Update hwdb.bin
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
|
Conflicts=shutdown.target
|
||||||
After=systemd-tmpfiles-setup.service
|
After=systemd-tmpfiles-setup.service
|
||||||
Before=systemd-udevd.service
|
Before=sysinit.target shutdown.target systemd-udevd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStart=-/usr/bin/udevadm hwdb --update
|
ExecStart=systemd-hwdb update
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=basic.target
|
WantedBy=sysinit.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user