Whitespace needs to be tabs. Added test for UEFI, if not found add grub-install to pacstrap install
This commit is contained in:
parent
80a3ca3826
commit
77894df51c
|
|
@ -285,6 +285,8 @@ class Installer():
|
||||||
self.base_packages.append('xfsprogs')
|
self.base_packages.append('xfsprogs')
|
||||||
if self.partition.filesystem == 'f2fs':
|
if self.partition.filesystem == 'f2fs':
|
||||||
self.base_packages.append('f2fs-tools')
|
self.base_packages.append('f2fs-tools')
|
||||||
|
if not(hasUEFI()):
|
||||||
|
self.base_packages.append('grub-install')
|
||||||
self.pacstrap(self.base_packages)
|
self.pacstrap(self.base_packages)
|
||||||
self.helper_flags['base-strapped'] = True
|
self.helper_flags['base-strapped'] = True
|
||||||
#self.genfstab()
|
#self.genfstab()
|
||||||
|
|
|
||||||
|
|
@ -314,10 +314,10 @@ def perform_installation(device, boot_partition, language, mirrors):
|
||||||
if installation.minimal_installation():
|
if installation.minimal_installation():
|
||||||
installation.set_mirrors(mirrors) # Set the mirrors in the installation medium
|
installation.set_mirrors(mirrors) # Set the mirrors in the installation medium
|
||||||
installation.set_keyboard_language(language)
|
installation.set_keyboard_language(language)
|
||||||
if hasUEFI():
|
if hasUEFI():
|
||||||
installation.add_bootloader()
|
installation.add_bootloader()
|
||||||
else:
|
else:
|
||||||
installation.add_bootloader(bootloder='grub-install')
|
installation.add_bootloader(bootloder='grub-install')
|
||||||
|
|
||||||
|
|
||||||
# If user selected to copy the current ISO network configuration
|
# If user selected to copy the current ISO network configuration
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue