[partition] change efiPartition value to /boot

- we need to make it configurable not hard-coded
- some distributions need '/boot/efi' or '/boot/EFI', some work with '/boot'
main
Philip 10 years ago
parent 75857971c4
commit 1f661a8b4b

@ -5,6 +5,7 @@ grubInstall: "grub-install"
grubMkconfig: "grub-mkconfig"
grubCfg: "/boot/grub/grub.cfg"
# Some distributions require a /boot/efi or /boot/EFI directory. Configure as needed.
# These values need to be in-sync with partition.conf
efiDirectory: "/boot"
efiDirectoryFirmware: "/boot/EFI"
# Optionally set the --bootloader-id to use for EFI. If not set, this defaults

@ -160,7 +160,7 @@ EraseDiskPage::doAutopartition( Device* dev )
first_free_sector,
lastSector
);
PartitionInfo::setMountPoint( efiPartition, "/boot/efi" );
PartitionInfo::setMountPoint( efiPartition, "/boot" );
PartitionInfo::setFormat( efiPartition, true );
m_core->createPartition( dev, efiPartition );
first_free_sector = lastSector + 1;

@ -0,0 +1,5 @@
---
# Some distributions require a /boot/efi or /boot/EFI directory. Configure as needed.
# These values need to be in-sync with grub.conf
efiDirectory: "/boot"
efiDirectoryFirmware: "/boot/EFI"
Loading…
Cancel
Save