units: run ldconfig.service after we have mounted all local file systems
Also drop ConditionNeedsUpdate=|/etc. Regardless if system is updated online or offline, updating dynamic loader cache should always be responsibility of packaging tools/scripts.
This commit is contained in:
parent
b18eb0a676
commit
f66a1c48cf
|
@ -10,9 +10,8 @@ Description=Rebuild Dynamic Linker Cache
|
||||||
Documentation=man:ldconfig(8)
|
Documentation=man:ldconfig(8)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=systemd-remount-fs.service
|
After=local-fs.target
|
||||||
Before=sysinit.target shutdown.target systemd-update-done.service
|
Before=sysinit.target shutdown.target systemd-update-done.service
|
||||||
ConditionNeedsUpdate=|/etc
|
|
||||||
ConditionFileNotEmpty=|!/etc/ld.so.cache
|
ConditionFileNotEmpty=|!/etc/ld.so.cache
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
Loading…
Reference in New Issue