[blivet:master] Allow RAID1 on EFI (#788313)
mulhern
amulhern at redhat.com
Tue Jun 24 19:52:45 UTC 2014
Related: rhbz#788313
Signed-off-by: mulhern <amulhern at redhat.com>
---
blivet/platform.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/blivet/platform.py b/blivet/platform.py
index 2c2e353..dc7f728 100644
--- a/blivet/platform.py
+++ b/blivet/platform.py
@@ -25,6 +25,7 @@ log = logging.getLogger("blivet")
import parted
from . import arch
+from . import devicelibs
from .flags import flags
from .partspec import PartSpec
from .size import Size
@@ -208,8 +209,9 @@ class X86(Platform):
class EFI(Platform):
_boot_stage1_format_types = ["efi"]
- _boot_stage1_device_types = ["partition"]
+ _boot_stage1_device_types = ["partition", "mdarray"]
_boot_stage1_mountpoints = ["/boot/efi"]
+ _boot_stage1_raid_levels = [devicelibs.raid.RAID1]
_boot_efi_description = N_("EFI System Partition")
_boot_descriptions = {"partition": _boot_efi_description,
"mdarray": Platform._boot_raid_description}
--
1.9.3
More information about the anaconda-patches
mailing list