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

[PATCH 2/3] Don't check the fstype for /boot req weight.



It will get checked elsewhere and we aren't passing it when we
call that method anyway, so /boot req never has the correct weight.
---
 pyanaconda/platform.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/platform.py b/pyanaconda/platform.py
index c680fd7..c9d9218 100644
--- a/pyanaconda/platform.py
+++ b/pyanaconda/platform.py
@@ -150,7 +150,7 @@ class Platform(object):
             for the base sorting weight.  This is used to modify the sort
             algorithm for partition requests, mainly to make sure bootable
             partitions and /boot are placed where they need to be."""
-        if fstype in self.bootFSTypes and mountpoint == "/boot":
+        if mountpoint == "/boot":
             return 2000
         else:
             return 0
-- 
1.7.3.4


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