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 Development

 
 
LinkBack Thread Tools
 
Old 04-19-2011, 04:34 PM
David Lehman
 
Default Make sure bootloader stage1 device stays current through partitioning.

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

diff --git a/pyanaconda/storage/partitioning.py b/pyanaconda/storage/partitioning.py
index 9aa3c0b..bddca32 100644
--- a/pyanaconda/storage/partitioning.py
+++ b/pyanaconda/storage/partitioning.py
@@ -909,6 +909,9 @@ def doPartitioning(storage, bootloader=None):
# moment to simplify things
storage.devicetree._addDevice(device)

+ # make sure the stage1_device gets updated
+ storage.platform.bootloader.stage1_device = None
+
def allocatePartitions(storage, disks, partitions, freespace, bootloader=None):
""" Allocate partitions based on requested features.

--
1.7.3.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 04-19-2011, 09:47 PM
David Cantrell
 
Default Make sure bootloader stage1 device stays current through partitioning.

Ack.

David Lehman <dlehman@redhat.com> wrote:

> ---
> pyanaconda/storage/partitioning.py | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/pyanaconda/storage/partitioning.py b/pyanaconda/storage/partitioning.py
> index 9aa3c0b..bddca32 100644
> --- a/pyanaconda/storage/partitioning.py
> +++ b/pyanaconda/storage/partitioning.py
> @@ -909,6 +909,9 @@ def doPartitioning(storage, bootloader=None):
> # moment to simplify things
> storage.devicetree._addDevice(device)
>
> + # make sure the stage1_device gets updated
> + storage.platform.bootloader.stage1_device = None
> +
> def allocatePartitions(storage, disks, partitions, freespace, bootloader=None):
> """ Allocate partitions based on requested features.
>
> --
> 1.7.3.4
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

--
David Cantrell <dcantrell@redhat.com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Seattle, WA | UTC-7

_______________________________________________
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 04:28 PM.

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