[Fedora-spins] [spin-kickstarts] atomic: Remove %post which calls fixfiles

Colin Walters walters at fedoraproject.org
Mon Jul 21 18:18:17 UTC 2014


commit 7d8b302b9fa02e5a83b51140746361aa54693f5b
Author: Colin Walters <walters at verbum.org>
Date:   Mon Jul 21 14:09:24 2014 -0400

    atomic: Remove %post which calls fixfiles
    
    This should be handled correctly at installation time.  If it's not, I
    think what we really want is a %post --relabel or something option to
    have Anaconda take care of this.

 fedora-cloud-atomic.ks |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/fedora-cloud-atomic.ks b/fedora-cloud-atomic.ks
index 8dd6e35..19c1bcc 100644
--- a/fedora-cloud-atomic.ks
+++ b/fedora-cloud-atomic.ks
@@ -121,15 +121,6 @@ echo "-----------------------------------------------------------------------"
 # Note that running rpm recreates the rpm db files which aren't needed/wanted
 rm -f /var/lib/rpm/__db*
 
-
-echo "Fixing SELinux contexts."
-touch /var/log/cron
-touch /var/log/boot.log
-mkdir -p /var/cache/yum
-chattr -i /boot/extlinux/ldlinux.sys
-/usr/sbin/fixfiles -R -a restore
-chattr +i /boot/extlinux/ldlinux.sys
-
 echo "Zeroing out empty space."
 # This forces the filesystem to reclaim space from deleted files
 dd bs=1M if=/dev/zero of=/var/tmp/zeros || :


More information about the spins mailing list