FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-29-2011, 09:15 AM
Ales Kozumplik
 
Default reset bootloader.stage1_device upon repeated autopartitioning.

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 09:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org