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:
parent
56085be1db
commit
7d8b302b9f
@ -121,15 +121,6 @@ echo "-----------------------------------------------------------------------"
|
|||||||
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
# Note that running rpm recreates the rpm db files which aren't needed/wanted
|
||||||
rm -f /var/lib/rpm/__db*
|
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."
|
echo "Zeroing out empty space."
|
||||||
# This forces the filesystem to reclaim space from deleted files
|
# This forces the filesystem to reclaim space from deleted files
|
||||||
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||||
|
Loading…
Reference in New Issue
Block a user