File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99
1010class Bootloader (Enum ):
11+ NO_BOOTLOADER = 'No bootloader server'
1112 Systemd = 'Systemd-boot'
1213 Grub = 'Grub'
1314 Efistub = 'Efistub'
@@ -32,7 +33,7 @@ def get_default(cls) -> None | Bootloader:
3233 from ..args import arch_config_handler
3334
3435 if arch_config_handler .args .skip_boot :
35- return None
36+ return Bootloader . NO_BOOTLOADER
3637 elif SysInfo .has_uefi ():
3738 return Bootloader .Systemd
3839 else :
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ def perform_installation(mountpoint: Path) -> None:
9999 if config .swap :
100100 installation .setup_swap ('zram' )
101101
102- if config .bootloader :
102+ if config .bootloader and config . bootloader not Bootloader . NO_BOOTLOADER :
103103 if config .bootloader == Bootloader .Grub and SysInfo .has_uefi ():
104104 installation .add_additional_packages ('grub' )
105105
You can’t perform that action at this time.
0 commit comments