Re: [rhel6-branch] Only allow one EFI System Partition to exist at a time.

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

 



On Fri, 2011-01-14 at 16:15 -0500, Peter Jones wrote:
...
> diff --git a/storage/devicetree.py b/storage/devicetree.py
> index f45e656..250aa43 100644
> --- a/storage/devicetree.py
> +++ b/storage/devicetree.py
> @@ -1831,7 +1831,7 @@ class DeviceTree(object):
>                  kwargs["peStart"] = udev_device_get_pv_pe_start(info)
>              except KeyError:
>                  log.debug("PV %s has no pe_start" % name)
> -        elif format_type == "vfat":
> +        elif format_type == "vfat" or format_type == "efi":
>              # efi magic
>              if isinstance(device, PartitionDevice) and device.bootable:
>                  efi = formats.getFormat("efi")

The above hunk is probably not needed since blkid shouldn't return "efi"
AFAIK. The rest looks good.

Dave

_______________________________________________
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