Skip to content

Commit

Permalink
Merge pull request #203 from grml/zeha/mask-ldconfig
Browse files Browse the repository at this point in the history
GRMLBASE/15-initsetup: mask ldconfig.service
  • Loading branch information
zeha authored Dec 10, 2024
2 parents d64ef59 + 3c04ec5 commit a5a8f6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ systemd_setup() {

$ROOTCMD systemctl preset-all
$ROOTCMD systemctl set-default grml-boot.target

# ldconfig.service updates the dynamic linker cache. This is not really
# useful on a live OS image, where the installed packages do not change
# on startup. As this is quite costly, disable it.
$ROOTCMD systemctl mask ldconfig.service
}

systemd_setup
Expand Down

0 comments on commit a5a8f6f

Please sign in to comment.