[PATCH 3/6] Don't keep old device name when switching to btrfs in custom.

David Lehman dlehman at redhat.com
Fri Dec 21 19:57:48 UTC 2012


Related: rhbz#868465
---
 pyanaconda/ui/gui/spokes/custom.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index f2ab156..08e35e7 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -910,6 +910,9 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
         if name_entry.get_sensitive():
             name = name_entry.get_text()
             changed_name = (name != old_name)
+        else:
+            # name entry insensitive means we don't control the name
+            name = None
 
         log.debug("old_name: %s" % old_name)
         log.debug("new_name: %s" % name)
-- 
1.7.7.6



More information about the anaconda-patches mailing list