FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS Docs

 
 
LinkBack Thread Tools
 
Old 05-28-2010, 03:58 PM
Hans de Goede
 
Default booty: remove hack city hack

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
" % (self.grubbyDiskName(dev), dev.path))
+ f.write("(%s) %s
" % (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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 05-31-2010, 12:42 PM
Martin Sivak
 
Default booty: remove hack city hack

Ack.

--
Martin Sivák
msivak@redhat.com
Red Hat Czech
Anaconda team / Brno, CZ

----- "Hans de Goede" <hdegoede@redhat.com> 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
" % (self.grubbyDiskName(dev),
> dev.path))
> + f.write("(%s) %s
" % (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@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org