[PATCH 8/8] booty: remove hack city hack

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

 



We only return disks and partitions from getPhysicalDevices, so there
is no need to check if a device is an mdraid array when writing out
the device.map .
---
 booty/x86.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/booty/x86.py b/booty/x86.py
index 1668c56..a2af313 100644
--- a/booty/x86.py
+++ b/booty/x86.py
@@ -425,10 +425,7 @@ class x86BootloaderInfo(efiBootloaderInfo):
         devs = list(usedDiskDevs)
         devs.sort(key=lambda d: d.name)
         for dev in devs:
-            # XXX hack city.  If they're not the sort of thing that'll
-            # be in the device map, they shouldn't still be in the list.
-            if not dev.type == "mdarray":
-                f.write("(%s)     %s\n" % (self.grubbyDiskName(dev), dev.path))
+            f.write("(%s)     %s\n" % (self.grubbyDiskName(dev), dev.path))
         f.close()
 
     def writeSysconfig(self, instRoot, grubTarget, upgrade):
-- 
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