forked from srbala/fedora-kickstarts
Revert "dd extlinux mbr during post as temporary workaround for bug #1147998"
This reverts commit 58b06553fa
.
We need to go back to the broken merge.
This commit is contained in:
parent
7517d88f12
commit
de82df00d2
@ -131,15 +131,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*
|
||||||
|
|
||||||
|
|
||||||
# This is a temporary workaround for
|
|
||||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1147998>
|
|
||||||
# where sfdisk seems to be messing up the mbr.
|
|
||||||
# Long-term fix is to address this in anaconda directly and remove this.
|
|
||||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
|
||||||
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
|
||||||
|
|
||||||
|
|
||||||
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 || :
|
||||||
|
@ -194,14 +194,6 @@ echo "-----------------------------------------------------------------------"
|
|||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
|
|
||||||
# This is a temporary workaround for
|
|
||||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1147998>
|
|
||||||
# where sfdisk seems to be messing up the mbr.
|
|
||||||
# Long-term fix is to address this in anaconda directly and remove this.
|
|
||||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
|
||||||
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
|
||||||
|
|
||||||
|
|
||||||
echo "Fixing SELinux contexts."
|
echo "Fixing SELinux contexts."
|
||||||
touch /var/log/cron
|
touch /var/log/cron
|
||||||
touch /var/log/boot.log
|
touch /var/log/boot.log
|
||||||
|
@ -200,13 +200,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*
|
||||||
|
|
||||||
# This is a temporary workaround for
|
|
||||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1147998>
|
|
||||||
# where sfdisk seems to be messing up the mbr.
|
|
||||||
# Long-term fix is to address this in anaconda directly and remove this.
|
|
||||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
|
||||||
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
|
||||||
|
|
||||||
|
|
||||||
echo "Fixing SELinux contexts."
|
echo "Fixing SELinux contexts."
|
||||||
touch /var/log/cron
|
touch /var/log/cron
|
||||||
|
@ -192,14 +192,6 @@ echo "-----------------------------------------------------------------------"
|
|||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
|
|
||||||
# This is a temporary workaround for
|
|
||||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1147998>
|
|
||||||
# where sfdisk seems to be messing up the mbr.
|
|
||||||
# Long-term fix is to address this in anaconda directly and remove this.
|
|
||||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
|
||||||
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
|
||||||
|
|
||||||
|
|
||||||
echo "Fixing SELinux contexts."
|
echo "Fixing SELinux contexts."
|
||||||
touch /var/log/cron
|
touch /var/log/cron
|
||||||
touch /var/log/boot.log
|
touch /var/log/boot.log
|
||||||
|
Loading…
Reference in New Issue
Block a user