Re: [PATCH f12-branch] Don't warn /usr should be formatted when "Format as:" is already selected

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

 



it looks ok.
On Tue, Oct 06, 2009 at 02:15:21PM +0200, Hans de Goede wrote:
> When editing a pre-existing mdraid set and selecting /usr (or any of
> the other mountpoints listed in formatByDefault()) as mountpoint, anaconda
> always tells that this mountpoint should be formatted before installation.
> 
> This patch makes anaconda not give this warning when the user has already
> selected "Format as:" (ext4, ...).
> ---
>  iw/raid_dialog_gui.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py
> index 64c0a8a..f2a8a28 100644
> --- a/iw/raid_dialog_gui.py
> +++ b/iw/raid_dialog_gui.py
> @@ -285,7 +285,7 @@ class RaidEditor:
>                          usedev = self.origrequest
>                      migrate = True
>  
> -                if self.origrequest.format.exists and \
> +                if self.origrequest.format.exists and not format and \
>                     self.storage.formatByDefault(self.origrequest):
>                      if not queryNoFormatPreExisting(self.intf):
>  		        continue
> -- 
> 1.6.5.rc2
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

-- 
Joel Andres Granados
Brno, Czech Republic, Red Hat.

Attachment: pgpyQyNwqr6BG.pgp
Description: PGP signature

_______________________________________________
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