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 > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 03-12-2009, 03:12 AM
David Lehman
 
Default Honor the zerombr kickstart directive.

---
storage/devicetree.py | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 2a40fc4..2130bc7 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -972,7 +972,11 @@ class DeviceTree(object):
device = self.getDeviceByName(name)
if device is None:
try:
- cb=lambda:questionInitializeDisk(self.intf, name)
+ if self.zeroMbr:
+ cb = lambda: True
+ else:
+ cb = lambda: questionInitializeDisk(self.intf, name)
+
device = DiskDevice(name,
major=udev_device_get_major(info),
minor=udev_device_get_minor(info),
@@ -1149,7 +1153,11 @@ class DeviceTree(object):

# Create the DMRaidArray
try:
- cb=lambda:questionInitializeDisk(self.intf,rs.name )
+ if self.zeroMbr:
+ cb = lambda: True
+ else:
+ cb = lambda: questionInitializeDisk(self.intf,
+ rs.name)
dm_array = DMRaidArrayDevice(rs.name,
major=major, minor=minor,
raidSet=rs,
--
1.6.0.6

_______________________________________________
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 09:32 AM.

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