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

[PATCH 7/9] Set the boot partition's name



Related: rhbz#727933
---
 pyanaconda/storage/__init__.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
index 2498295..d9d43cb 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -412,6 +412,11 @@ class Storage(object):
                          continue
                     log.info("setting boot flag on %s" % dev.name)
                     dev.bootable = True
+
+                    # Set the boot partition's name
+                    ped_partition = dev.partedPartition.getPedPartition()
+                    ped_partition.set_name(dev.format.name)
+
                     dev.disk.setup()
                     dev.disk.format.commitToDisk()
 
-- 
1.7.4.4


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