[PATCH] swap devices should be under the System portion (#962668).
Samantha N. Bueno
sbueno+anaconda at redhat.com
Wed Aug 21 21:48:51 UTC 2013
On Wed, Aug 21, 2013 at 05:03:02PM -0400, Chris Lumens wrote:
> ---
> pyanaconda/ui/gui/spokes/lib/accordion.py | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/pyanaconda/ui/gui/spokes/lib/accordion.py b/pyanaconda/ui/gui/spokes/lib/accordion.py
> index c7959cb..5990332 100644
> --- a/pyanaconda/ui/gui/spokes/lib/accordion.py
> +++ b/pyanaconda/ui/gui/spokes/lib/accordion.py
> @@ -195,11 +195,8 @@ class Page(Gtk.Box):
> self.members.remove(selector)
>
> def _mountpointType(self, mountpoint):
> - if not mountpoint:
> - # This catches things like swap.
> - return SYSTEM_DEVICE
> - elif mountpoint in ["/", "/boot", "/boot/efi", "/tmp", "/usr", "/var",
> - "biosboot", "prepboot"]:
> + if not mountpoint or mountpoint in ["/", "/boot", "/boot/efi", "/tmp", "/usr", "/var",
> + "biosboot", "prepboot", "swap"]:
> return SYSTEM_DEVICE
> else:
> return DATA_DEVICE
> --
Ack.
More information about the anaconda-patches
mailing list