Don't run prelink on a running live image.
This commit is contained in:
parent
e095d42c59
commit
34c07aa4fa
@ -309,6 +309,9 @@ rm -f /var/lib/rpm/__db*
|
||||
# from causing massive changes on systems booted longer than a day.
|
||||
/usr/sbin/prelink -am &>/dev/null || :
|
||||
|
||||
# don't use prelink on a running live image
|
||||
sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink &>/dev/null || :
|
||||
|
||||
# save a little bit of space at least...
|
||||
rm -f /boot/initramfs*
|
||||
# make sure there aren't core files lying around
|
||||
|
Loading…
Reference in New Issue
Block a user