mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-01-04 07:40:25 +01:00
disable the ldconfig run as it can unnecessarily slow down boot
The ldconfig service ("Rebuild Dynamic Linker Cache") updates /etc/ld.so.cache when it is
older than some preconfigured age. This increases boot time, especially when airootfs is
on a slower media, like a DVD-ROM drive or NFS. Since System Rescue doesn't change over time,
keeping the original file from release is fine.
This commit is contained in:
parent
dc24c20e92
commit
5799891875
|
|
@ -45,6 +45,9 @@ systemctl mask shadow.timer
|
|||
systemctl mask man-db.timer
|
||||
systemctl mask updatedb.timer
|
||||
|
||||
# ldconfig ("Rebuild Dynamic Linker Cache") unnecessarily slows down boot some time after the release
|
||||
systemctl mask ldconfig.service
|
||||
|
||||
# Provide additional commands (using busybox instead of binutils to save space)
|
||||
ln -sf /usr/bin/busybox /usr/local/bin/ar
|
||||
ln -sf /usr/bin/busybox /usr/local/bin/strings
|
||||
|
|
|
|||
Loading…
Reference in a new issue