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:
Gerd v. Egidy 2021-12-12 11:33:21 +01:00
parent dc24c20e92
commit 5799891875

View file

@ -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