cloud-atomic: Drop SELinux relabeling

This should not be necessary; we have policy loaded from the Anaconda
environment.
This commit is contained in:
Colin Walters 2014-11-08 13:11:12 -05:00
parent 0ba1d1dbc6
commit e46c512867
1 changed files with 0 additions and 9 deletions

View File

@ -128,15 +128,6 @@ rm -f /var/lib/rpm/__db*
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
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 || :