[f16-branch] reset bootloader.stage1_device upon repeated autopartitioning.

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

 



Otherwise the algorithm doesn't see it as necessary to create a biosboot
partition.

Resolves: rhbz#741587
---
 pyanaconda/storage/partitioning.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/partitioning.py b/pyanaconda/storage/partitioning.py
index 537b38f..9e3a5f2 100644
--- a/pyanaconda/storage/partitioning.py
+++ b/pyanaconda/storage/partitioning.py
@@ -251,6 +251,7 @@ def doAutoPartition(anaconda):
         # whole disk format replaced by a disklabel. Make sure to keep any
         # previous boot order selection from clearpart_gui or kickstart
         anaconda.bootloader.clear_drive_list()
+        anaconda.bootloader.stage1_device = None
 
         disks = _getCandidateDisks(anaconda.storage)
         devs = _schedulePVs(anaconda.storage, disks)
@@ -981,7 +982,7 @@ def doPartitioning(storage, bootloader=None):
 
         updateExtendedPartitions(storage, disks)
 
-        # make sure the stage1_device gets updated
+        # make sure the stage1_device gets updated during sanityCheck
         if storage.anaconda:
             storage.anaconda.bootloader.stage1_device = None
 
-- 
1.7.6

_______________________________________________
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