Skip bootloader config check when 'No Bootloader' is selected as bootloader (#3875)

* Allow installation via TUI when 'No Bootloader' is selected as bootloader (--skip-boot)

* Update global_menu.py

Fixed ruff formatting issue

---------

Co-authored-by: Anton Hvornum <anton.feeds+github@gmail.com>
This commit is contained in:
Klaus Zipfel 2025-11-01 11:59:24 +01:00 committed by GitHub
parent adbadbf606
commit 1174800cca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -425,6 +425,9 @@ class GlobalMenu(AbstractMenu[None]):
bootloader = self._item_group.find_by_key('bootloader').value
if bootloader == Bootloader.NO_BOOTLOADER:
return None
if disk_config := self._item_group.find_by_key('disk_config').value:
for layout in disk_config.device_modifications:
if root_partition := layout.get_root_partition():