[rhel5-branch] Remove old labels before labeling disk entries (#566668)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 fsset.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/fsset.py b/fsset.py
index 51519f6..6b87ff5 100644
--- a/fsset.py
+++ b/fsset.py
@@ -1822,6 +1822,9 @@ MAILADDR root
                     sys.exit(0)
 
     def labelEntry(self, entry, chroot):
+        # remove old label
+        entry.setLabel(None)
+
         label = entry.device.getLabel()
         if label:
             entry.setLabel(label)
-- 
1.7.3.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux