mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27: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]
|
||||
Description=Update hwdb.bin
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=systemd-tmpfiles-setup.service
|
||||
Before=systemd-udevd.service
|
||||
Before=sysinit.target shutdown.target systemd-udevd.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=-/usr/bin/udevadm hwdb --update
|
||||
ExecStart=systemd-hwdb update
|
||||
|
||||
[Install]
|
||||
WantedBy=basic.target
|
||||
WantedBy=sysinit.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user