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 > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 04-19-2011, 09:42 PM
David Cantrell
 
Default Fix handling of missing boot device in doPartitioning.

Ack. I hit this today and had a patch queued too.

David Lehman <dlehman@redhat.com> wrote:

> ---
> pyanaconda/storage/partitioning.py | 7 +++----
> 1 files changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/pyanaconda/storage/partitioning.py b/pyanaconda/storage/partitioning.py
> index d83ed1b..30aee90 100644
> --- a/pyanaconda/storage/partitioning.py
> +++ b/pyanaconda/storage/partitioning.py
> @@ -848,11 +848,10 @@ def doPartitioning(storage, bootloader=None):
> part.req_size = part.req_base_size
>
> try:
> - bootDev = storage.platform.bootDevice
> - except DeviceError:
> + storage.platform.bootDevice.req_bootable = True
> + except AttributeError:
> + # there's no stage2 device. hopefully it's temporary.
> pass
> - else:
> - bootDev.req_bootable = True
>
> removeNewPartitions(disks, partitions)
> free = getFreeRegions(disks)
> --
> 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 07:25 AM.

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