From 34c07aa4fa20eff29616a85b4c6aae7e8de01097 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Sun, 3 Apr 2011 08:35:36 -0500 Subject: [PATCH] Don't run prelink on a running live image. --- fedora-live-base.ks | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fedora-live-base.ks b/fedora-live-base.ks index 6980f91..0ac6a5d 100644 --- a/fedora-live-base.ks +++ b/fedora-live-base.ks @@ -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