From 7d8b302b9fa02e5a83b51140746361aa54693f5b Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 21 Jul 2014 14:09:24 -0400 Subject: [PATCH] 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 file changed, 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 || :