[PATCH 6/8] Remove overzealous correction of device type for /boot*. (#863574)

David Lehman dlehman at redhat.com
Tue Oct 9 22:24:03 UTC 2012


/boot can be on btrfs or lvm. This should be handled in the ui.
---
 pyanaconda/storage/__init__.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
index 19d76e3..6f60ec4 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -2013,9 +2013,6 @@ class Storage(object):
 
         if fstype == "swap" and device_type == AUTOPART_TYPE_BTRFS:
             device_type = AUTOPART_TYPE_PLAIN
-        elif device_type != AUTOPART_TYPE_PLAIN and \
-             mountpoint and mountpoint.startswith("/boot"):
-            device_type = AUTOPART_TYPE_PLAIN
 
         fmt_args = {}
         if label:
-- 
1.7.7.6



More information about the anaconda-patches mailing list