[blivet] straighten out extended partition management

David Lehman dlehman at redhat.com
Fri May 2 17:48:39 UTC 2014


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(-)

-- 
1.9.0



More information about the anaconda-patches mailing list