From 7ff84cf13389eb4cd9f8c4b7d282bbf121c91492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 5 Jun 2016 22:21:03 +0200 Subject: [PATCH] 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 --- anaconda/pyanaconda/bootloader.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/anaconda/pyanaconda/bootloader.py b/anaconda/pyanaconda/bootloader.py index 86b7297..712a1aa 100644 --- a/anaconda/pyanaconda/bootloader.py +++ b/anaconda/pyanaconda/bootloader.py @@ -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):