[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 2/2] On upgrades, make sure clearPartType is CLEARPART_TYPE_NONE (#499321).
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH 2/2] On upgrades, make sure clearPartType is CLEARPART_TYPE_NONE (#499321).
- Date: Mon, 11 May 2009 11:59:43 -0400
Otherwise, shouldClear could return True which means the device will not get
inspected for installations that can be upgraded.
---
storage/__init__.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/storage/__init__.py b/storage/__init__.py
index d3d742f..d01ed1d 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -62,6 +62,9 @@ def storageInitialize(anaconda):
if anaconda.dir == DISPATCH_BACK:
return
+ if anaconda.id.getUpgrade():
+ storage.clearPartType = CLEARPART_TYPE_NONE
+
# XXX I don't understand why I have to do this
udev_trigger(subsystem="block")
--
1.6.1.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]