[Fedora-spins] [spin-kickstarts] Don't run prelink on a running live image.

Bruno Wolff III bruno at wolff.to
Sun Apr 3 13:46:04 UTC 2011


On Sun, Apr 03, 2011 at 13:36:11 +0000,
  Bruno Wolff III <bruno at fedoraproject.org> wrote:
> 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.

Don't worry about this one being screwed up, I fixed it in the next commit.

> 
>  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
> _______________________________________________
> spins mailing list
> spins at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/spins


More information about the spins mailing list