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:13 AM
David Lehman
 
Default Honor --initlabel option to clearpart kickstart directive.

Although counterintuitive, it appears that this is all it
does.
---
storage/partitioning.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/storage/partitioning.py b/storage/partitioning.py
index c104401..90ca3b7 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -270,6 +270,10 @@ def clearPartitions(storage):
part.partedPartition.getFlag(parted.PARTITION_SWAP ):
clear = True

+ if part.name in storage.protectedPartitions and
+ not storage.reinitializeDisks:
+ clear = False
+
# TODO: do platform-specific checks on ia64, pSeries, iSeries, mac

if not clear:
--
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 01:20 AM.

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