[Fedora-spins] [spin-kickstarts] Add prelink in. See bug: 679880

Kevin Fenzi kevin at fedoraproject.org
Sun Apr 3 00:42:02 UTC 2011


commit 45ad6629a171668343fe04f31b3f1f8543232f53
Author: Kevin Fenzi <kevin at tummy.com>
Date:   Sat Apr 2 18:41:38 2011 -0600

    Add prelink in. See bug: 679880

 fedora-live-base.ks |    4 ++++
 fedora-live-mini.ks |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index a88834c..47dc6ed 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -305,6 +305,10 @@ rm -f /var/lib/rpm/__db*
 # go ahead and pre-make the man -k cache (#455968)
 /usr/bin/mandb
 
+# run prelink to prelink everything installed. This should prevent prelink 
+# from causing massive changes on systems booted longer than a day. 
+/usr/sbin/prelink -a
+
 # save a little bit of space at least...
 rm -f /boot/initramfs*
 # make sure there aren't core files lying around
diff --git a/fedora-live-mini.ks b/fedora-live-mini.ks
index eec26a7..632ee1d 100644
--- a/fedora-live-mini.ks
+++ b/fedora-live-mini.ks
@@ -378,6 +378,10 @@ rm -f /var/lib/rpm/__db*
 # go ahead and pre-make the man -k cache (#455968)
 /usr/bin/mandb
 
+# run prelink to prelink everything installed. This should prevent prelink 
+# from causing massive changes on systems booted longer than a day. 
+/usr/sbin/prelink -a
+
 # save a little bit of space at least...
 rm -f /boot/initrd*
 # make sure there aren't core files lying around


More information about the spins mailing list