[blivet] straighten out extended partition management

Vratislav Podzimek vpodzime at redhat.com
Mon May 5 11:03:07 UTC 2014


On Fri, 2014-05-02 at 12:48 -0500, David Lehman wrote:
> Normally, extended partitions are only created as blivet sees fit during
> partition allocation. There is no action to represent the creation of the
> extended partition until we create one at the last minute, as part of
> processActions. This saves us from having to manage implicitly-created
> actions in addition to implicitly-created devices.
> 
> It is also possible, when not installing an OS, to explicitly request the
> creation of an extended partition. In this case, an action will be created
> like it is for any other requested partition. This is never worked as
> intended, which is what these patches aim to fix.
> 
> David Lehman (2):
>   Fix handling of extended partitions across various modes of operation.
>   Explicitly requested extended partitions already have an action.
> 
>  blivet/devicetree.py   |  6 +++++-
>  blivet/partitioning.py | 34 ++++++++++++++--------------------
>  2 files changed, 19 insertions(+), 21 deletions(-)
These both look good to me.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list