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

[PATCH] Honor bootdrive selection when autopartitioning (#620442)



---
 pyanaconda/storage/partitioning.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/partitioning.py b/pyanaconda/storage/partitioning.py
index 1b5ad16..af42a03 100644
--- a/pyanaconda/storage/partitioning.py
+++ b/pyanaconda/storage/partitioning.py
@@ -185,7 +185,10 @@ def doAutoPartition(anaconda):
 
     if anaconda.storage.doAutoPart:
         clearPartitions(anaconda.storage)
-        anaconda.bootloader.updateDriveList()
+        # update the bootloader's drive list to add disks which have their
+        # whole disk format replaced by a disklabel. Make sure to keep any
+        # previous boot order selection from clearpart_gui or kickstart
+        anaconda.bootloader.updateDriveList(anaconda.bootloader.drivelist)
 
     if anaconda.storage.doAutoPart:
         (disks, devs) = _createFreeSpacePartitions(anaconda)
-- 
1.7.0.1


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