mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-09 23:50:07 +00:00
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.
|
# from causing massive changes on systems booted longer than a day.
|
||||||
/usr/sbin/prelink -am &>/dev/null || :
|
/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...
|
# save a little bit of space at least...
|
||||||
rm -f /boot/initramfs*
|
rm -f /boot/initramfs*
|
||||||
# make sure there aren't core files lying around
|
# make sure there aren't core files lying around
|
||||||
|
Loading…
Reference in New Issue
Block a user