[Fedora-spins] [spin-kickstarts] Don't run prelink on a running live image.
Bruno Wolff III
bruno at fedoraproject.org
Sun Apr 3 13:36:11 UTC 2011
commit 34c07aa4fa20eff29616a85b4c6aae7e8de01097
Author: Bruno Wolff III <bruno at wolff.to>
Date: Sun Apr 3 08:35:36 2011 -0500
Don't run prelink on a running live image.
fedora-live-base.ks | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
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
More information about the spins
mailing list