[PATCH f17-branch] Disable md /boot and /boot/efi on EFI. (#816823)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 pyanaconda/bootloader.py |    6 ++++++
 pyanaconda/platform.py   |    5 +----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 4d3294d..24e50af 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1464,6 +1464,12 @@ class EFIGRUB(GRUB):
     can_dual_boot = False
     _config_dir = "efi/EFI/redhat"
 
+    # list of strings representing options for boot device types
+    stage2_device_types = ["partition"]
+    stage2_raid_levels = []
+    stage2_raid_member_types = []
+    stage2_raid_metadata = []
+
     stage2_is_valid_stage1 = False
     stage2_bootable = False
     stage2_max_end_mb = None
diff --git a/pyanaconda/platform.py b/pyanaconda/platform.py
index 1c7f6cc..caf8791 100644
--- a/pyanaconda/platform.py
+++ b/pyanaconda/platform.py
@@ -188,10 +188,7 @@ class EFI(Platform):
     _bootloaderClass = bootloader.EFIGRUB
 
     _boot_stage1_format_types = ["efi"]
-    _boot_stage1_device_types = ["partition", "mdarray"]
-    _boot_stage1_raid_levels = [mdraid.RAID1]
-    _boot_stage1_raid_metadata = ["1.0"]
-    _boot_stage1_raid_member_types = ["partition"]
+    _boot_stage1_device_types = ["partition"]
     _boot_stage1_mountpoints = ["/boot/efi"]
     _boot_efi_description = N_("EFI System Partition")
     _boot_descriptions = {"partition": _boot_efi_description,
-- 
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux