[PATCH 2/7] Update btrfs volume label when changing volume name. (#959727)

David Lehman dlehman at redhat.com
Wed May 15 18:39:40 UTC 2013


---
 pyanaconda/ui/gui/spokes/custom.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index ac006f9..75b7556 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -2265,6 +2265,8 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
 
             # until there's a setter for btrfs volume name 
             container._name = self._device_container_name
+            if container.format.type == "btrfs":
+                container.format.label = self._device_container_name
 
         container_exists = getattr(container, "exists", False)
         container_combo = self.builder.get_object("containerCombo")
-- 
1.8.1.4



More information about the anaconda-patches mailing list