anaconda: do not have any requirements on /boot in EFI mode

EFI boot uses only /boot/efi, so /boot may be even on encrypted volume,
LVM, btrfs or anything else. Instead of allowing just LVM, override the
whole check for /boot.

Fixes QubesOS/qubes-issues#1721
pull/2/head
Marek Marczykowski-Górecki 8 years ago
parent 12c2fd9720
commit 7ff84cf133
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -1865,6 +1865,10 @@ class XenEFI(EFIGRUB):
def write_config_post(self):
pass
def is_valid_stage2_device(self, device, linux=True, non_linux=False):
""" XenEFI doesn't use stage2 at all, so allow anything here """
return True
write_config = BootLoader.write_config
class MacEFIGRUB(EFIGRUB):

Loading…
Cancel
Save