diff options
| author | 2025-03-20 18:26:00 -0400 | |
|---|---|---|
| committer | 2025-03-20 18:26:00 -0400 | |
| commit | d7316ab54385a248ed453ab2b6067d81becc7ce4 (patch) | |
| tree | 935037a3642229c1aa745e8dd9c52adfef6e927a /config.sh | |
| parent | f0a7ae8da38c662c71ca38c5db347b62ff2c36c0 (diff) | |
| download | kiwi-descriptions-d7316ab54385a248ed453ab2b6067d81becc7ce4.tar.gz kiwi-descriptions-d7316ab54385a248ed453ab2b6067d81becc7ce4.zip | |
config.sh: Inhibit ldconfig cache generation unit
The ldconfig cache generator runs on first boot and attempts to
read the whole image into memory, which eats gigabytes of RAM and
slows the boot down by half a minute. This is unnecessary for
images being booted unmodified.
Thus, create the necessary dot files to inhibit their runs.
Diffstat (limited to 'config.sh')
| -rwxr-xr-x | config.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -380,4 +380,10 @@ if [[ "$kiwi_profiles" == *"FEX"* ]]; then rm /usr/bin/rm fi +#====================================== +# Finalization steps +#-------------------------------------- +# Inhibit the ldconfig cache generation unit, see rhbz2348669 +touch -r "/usr" "/etc/.updated" "/var/.updated" + exit 0 |