mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-09 23:50:07 +00:00
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:
parent
34c07aa4fa
commit
fc56888436
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user