diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2020-03-21 10:37:59 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2020-03-22 18:35:10 +0000 |
commit | 4db933eec8dc0c1255dab7ca89053955d184f00f (patch) | |
tree | bae70a189303e51cc426ebef16147bd3d9c4706b /config | |
parent | b4c9fdc3eb04925de580f332198441164fff641c (diff) | |
download | draklive-config-4db933eec8dc0c1255dab7ca89053955d184f00f.tar draklive-config-4db933eec8dc0c1255dab7ca89053955d184f00f.tar.gz draklive-config-4db933eec8dc0c1255dab7ca89053955d184f00f.tar.bz2 draklive-config-4db933eec8dc0c1255dab7ca89053955d184f00f.tar.xz draklive-config-4db933eec8dc0c1255dab7ca89053955d184f00f.zip |
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.
Diffstat (limited to 'config')
-rw-r--r-- | config/build.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
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, |