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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user