From 4db933eec8dc0c1255dab7ca89053955d184f00f Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 21 Mar 2020 10:37:59 +0000 Subject: Prevent unnecessary updates on first boot. In particular, this stops ldconfig.service from updating the dynamic linker cache, which has a significant effect on boot time. --- config/build.cfg | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config') diff --git a/config/build.cfg b/config/build.cfg index 2ef1874..41185f1 100644 --- a/config/build.cfg +++ b/config/build.cfg @@ -338,6 +338,10 @@ my $config = { # Set the initial wireless regulatory domain to "world", enabling # all possible wireless channels to be used. "sed -i -r 's/CRDA_DOMAIN=.*/CRDA_DOMAIN=00/' /etc/sysconfig/network", + + # Prevent systemd services performing unnecessary updates on first + # boot. We should have done all necessary updates at build time. + "touch /etc/.updated /var/.updated", ), vga_mode => 788, -- cgit v1.2.1