[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 8/8] booty: remove hack city hack
- From: Hans de Goede <hdegoede redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: [PATCH 8/8] booty: remove hack city hack
- Date: Fri, 28 May 2010 17:58:31 +0200
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]