Undo the increase in efi volume and instead influence anaconda's perspective of the 'bios' drive

This commit is contained in:
Jarrod Johnson 2014-04-11 11:27:13 -04:00
parent 2673c5fb1a
commit ff8463b32c

View File

@ -219,7 +219,10 @@ if [ `uname -m` = "ppc64" ]; then
echo 'part None --fstype "PPC PReP Boot" --ondisk '$instdisk' --size 8' >> /tmp/partitioning
fi
if [ -d /sys/firmware/efi ]; then
echo 'part /boot/efi --size 100 --ondisk '$instdisk' --fstype vfat' >> /tmp/partitioning
echo 'bootloader --driveorder='$instdisk >> /tmp/partitioning
echo 'part /boot/efi --size 50 --ondisk '$instdisk' --fstype vfat' >> /tmp/partitioning
else
echo 'bootloader' >> /tmp/partitioning
fi
#TODO: ondisk detection, /dev/disk/by-id/edd-int13_dev80 for legacy maybe, and no idea about efi. at least maybe blacklist SAN if mptsas/mpt2sas/megaraid_sas seen...