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

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

 



On 08/03/2010 09:55 AM, Hans de Goede wrote:
---
  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)

Ack.

_______________________________________________
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