[master] Resolve issue with unremovable swaps

Vratislav Podzimek vpodzime at redhat.com
Wed Oct 2 13:20:20 UTC 2013


If there is new root added in the custom partitioning, we automatically add all
existing swaps under it. However, since the existing swaps are from different
roots, they cannot be removed. This confuses users.

I believe that adding all swaps under the newly created root confuses users in
general. So these three anaconda patches and one related blivet patch change the
behaviour to show only the newly created or reformated swaps under the new root
and also write only those swaps to the fstab.

Vratislav Podzimek (3):
  Make code to get new devices reusable as property
  Put only newly created or reformated swaps to the new root
  Tell blivet which swaps should appear in the fstab (#1011391)

 pyanaconda/kickstart.py            | 13 ++++++++++
 pyanaconda/ui/gui/spokes/custom.py | 53 ++++++++++++++++++--------------------
 2 files changed, 38 insertions(+), 28 deletions(-)

-- 
1.7.11.7



More information about the anaconda-patches mailing list