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
|