Re: [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]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Looks fine.

On Thu, 20 Aug 2009, Chris Lumens wrote:

---
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



- -- David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqTHHEACgkQ5hsjjIy1VkkHtgCfbMyoML0ur5VBD+QbzabGAYYm
6yUAmweyG7KcTeDjdjqCF8u6gvWblu0y
=i1jh
-----END PGP SIGNATURE-----

_______________________________________________
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