[blivet:master] Allow RAID1 on EFI (#788313)
Vratislav Podzimek
vpodzime at redhat.com
Wed Jun 25 05:46:15 UTC 2014
On Tue, 2014-06-24 at 15:52 -0400, mulhern wrote:
> 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}
Both this and the anaconda patch looks good to me. ACK.
--
Vratislav Podzimek
Anaconda Rider | RHCE | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list