[PATCH 1/2] Use the Platform's idea of what filesystem /boot can be on.

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

 



---
 storage/formats/__init__.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/storage/formats/__init__.py b/storage/formats/__init__.py
index 93272db..9868257 100644
--- a/storage/formats/__init__.py
+++ b/storage/formats/__init__.py
@@ -43,10 +43,11 @@ def register_device_format(fmt_class):
                                                            fmt_class._type))
 
 default_fstypes = ("ext4", "ext3", "ext2")
-default_boot_fstypes = ("ext4", "ext3", "ext2")
 def get_default_filesystem_type(boot=None):
+    import platform
+
     if boot:
-        fstypes = default_boot_fstypes
+        fstypes = [platform.getPlatform(None).bootFSType]
     else:
         fstypes = default_fstypes
 
-- 
1.6.4

_______________________________________________
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