Ack. -- Martin Sivák msivak@xxxxxxxxxx Red Hat Czech Anaconda team / Brno, CZ ----- "Hans de Goede" <hdegoede@xxxxxxxxxx> wrote: > 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 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list