Fix don't run prelink patch.

I accidentally stuck it in the wrong place on the last commit, and forgot to
do both live-base and live-mini.
This commit is contained in:
Bruno Wolff III 2011-04-03 08:41:31 -05:00
parent 34c07aa4fa
commit fc56888436
2 changed files with 6 additions and 3 deletions

View File

@ -190,6 +190,9 @@ chkconfig --level 345 firstboot off 2>/dev/null
# with systemd, but we can look into that later. - AdamW 2010/08 F14Alpha
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
# don't use prelink on a running live image
sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink &>/dev/null || :
# don't start yum-updatesd for livecd boots
chkconfig --level 345 yum-updatesd off 2>/dev/null || :
@ -309,9 +312,6 @@ 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

View File

@ -255,6 +255,9 @@ chkconfig --level 345 firstboot off 2>/dev/null
# The above doesn't works so we need to do this... GRR systemctl
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
# don't use prelink on a running live image
sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink &>/dev/null || :
# don't start yum-updatesd for livecd boots
chkconfig --level 345 yum-updatesd off 2>/dev/null