[Fedora-spins] [spin-kickstarts] Match updated prelink requirements.

Bruno Wolff III bruno at fedoraproject.org
Sun Apr 3 13:36:06 UTC 2011


commit e095d42c59f18a9745880e6538d9e172175d0e0c
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sun Apr 3 08:28:34 2011 -0500

    Match updated prelink requirements.
    
    The m option is used so that this will work in some i686 cases where it
    wouldn't before.
    
    prelink is optional, so handle it not being available.

 fedora-live-base.ks |    2 +-
 fedora-live-mini.ks |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 47dc6ed..6980f91 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -307,7 +307,7 @@ rm -f /var/lib/rpm/__db*
 
 # 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
+/usr/sbin/prelink -am &>/dev/null || :
 
 # save a little bit of space at least...
 rm -f /boot/initramfs*
diff --git a/fedora-live-mini.ks b/fedora-live-mini.ks
index 632ee1d..8ac4a63 100644
--- a/fedora-live-mini.ks
+++ b/fedora-live-mini.ks
@@ -380,7 +380,7 @@ rm -f /var/lib/rpm/__db*
 
 # 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
+/usr/sbin/prelink -am &>/dev/null || :
 
 # save a little bit of space at least...
 rm -f /boot/initrd*


More information about the spins mailing list