[PATCH 3/3] Allow using pre-existing gpt labels for /boot on non EFI x86 (#572488)

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

 



---
 platform.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/platform.py b/platform.py
index 30c58db..e3d4480 100644
--- a/platform.py
+++ b/platform.py
@@ -246,7 +246,8 @@ class EFI(Platform):
         for p in partitions:        
             partedDisk = p.disk.format.partedDisk
             labelType = self.diskLabelType(partedDisk.device.type)
-            if partedDisk.type != labelType:
+            # Allow using gpt with x86, but not msdos with EFI
+            if partedDisk.type != labelType and partedDisk.type != "gpt":
                 errors.append(_("%s must have a %s disk label.")
                               % (p.disk.name, labelType.upper()))
 
-- 
1.7.0.1

_______________________________________________
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