mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-27 09:33:08 +00:00
updated dd extlinux mbr during post as temporary workaround for bug #1147998
This commit is contained in:
parent
d034bb6c58
commit
5f29e730a3
@ -167,6 +167,14 @@ echo "-----------------------------------------------------------------------"
|
||||
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."
|
||||
touch /var/log/cron
|
||||
touch /var/log/boot.log
|
||||
|
@ -194,6 +194,14 @@ echo "-----------------------------------------------------------------------"
|
||||
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."
|
||||
touch /var/log/cron
|
||||
touch /var/log/boot.log
|
||||
|
@ -192,6 +192,14 @@ echo "-----------------------------------------------------------------------"
|
||||
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."
|
||||
touch /var/log/cron
|
||||
touch /var/log/boot.log
|
||||
|
Loading…
Reference in New Issue
Block a user