|
10 | 10 | from archinstall.tui.menu_item import MenuItem, MenuItemGroup |
11 | 11 |
|
12 | 12 | from .applications.application_menu import ApplicationMenu |
13 | | -from .args import ArchConfig, arch_config_handler |
| 13 | +from .args import ArchConfig |
14 | 14 | from .authentication.authentication_menu import AuthenticationMenu |
15 | 15 | from .configuration import save_config |
16 | 16 | from .hardware import SysInfo |
@@ -197,12 +197,6 @@ def _get_menu_options(self) -> list[MenuItem]: |
197 | 197 | ), |
198 | 198 | ] |
199 | 199 |
|
200 | | - if arch_config_handler.args.skip_boot: |
201 | | - for index, item in enumerate(menu_options): |
202 | | - if item.text == tr('Bootloader'): |
203 | | - menu_options.pop(index) |
204 | | - break |
205 | | - |
206 | 200 | return menu_options |
207 | 201 |
|
208 | 202 | def _safe_config(self) -> None: |
@@ -438,13 +432,7 @@ def _validate_bootloader(self) -> str | None: |
438 | 432 | boot_partition: PartitionModification | None = None |
439 | 433 | efi_partition: PartitionModification | None = None |
440 | 434 |
|
441 | | - if arch_config_handler.args.skip_boot: |
442 | | - # We only need to do this if statement if we hide |
443 | | - # the bootloader from the menu system, otherwise |
444 | | - # find_by_key() will be able to find it. |
445 | | - bootloader = Bootloader.NO_BOOTLOADER |
446 | | - else: |
447 | | - bootloader = self._item_group.find_by_key('bootloader').value |
| 435 | + bootloader = self._item_group.find_by_key('bootloader').value |
448 | 436 |
|
449 | 437 | if disk_config := self._item_group.find_by_key('disk_config').value: |
450 | 438 | for layout in disk_config.device_modifications: |
|
0 commit comments