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.
This commit is contained in:
Colin Walters 2014-07-21 14:09:24 -04:00
parent 56085be1db
commit 7d8b302b9f
1 changed files with 0 additions and 9 deletions

View File

@ -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 || :