Re: [PATCH] Disable Encryption on SW RAID (#771901)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  iw/partition_ui_helpers_gui.py |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py
> index 6356062..b4be34a 100644
> --- a/iw/partition_ui_helpers_gui.py
> +++ b/iw/partition_ui_helpers_gui.py
> @@ -211,6 +211,15 @@ def createFSTypeMenu(fstype, fstypechangeCB, mountCombo,
>                              fstypecombo.get_active_value().isMountable())
>          mountCombo.connect("changed", mountptchangeCB, fstypecombo)
>  
> +    # Make sure encryption can't be set on software raid
> +    if lukscb and mountCombo:
> +        fstype = fstypecombo.get_active_value()
> +        if fstype == fileSystemTypeGet("software RAID"):
> +            lukscb.set_active(0)
> +            lukscb.set_sensitive(0)
> +        else:
> +            lukscb.set_sensitive(1)
> +
>      return fstypecombo
>  
>  def mountptchangeCB(widget, fstypecombo):

This looks okay, though it has been an awful long time since I looked at
RHEL5 anything.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux