Re: [PATCH] Only /boot needs to be on one of the bootFSTypes. (#557718)

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

 



> diff --git a/platform.py b/platform.py
> index 2a841e8..f3154d4 100644
> --- a/platform.py
> +++ b/platform.py
> @@ -125,7 +125,9 @@ class Platform(object):
>  
>          # Make sure /boot is on a supported FS type.  This prevents crazy
>          # things like boot on vfat.
> -        if not req.format.bootable or not req.format.type in self.bootFSTypes:
> +        if not req.format.bootable or \
> +           (getattr(req.format, "mountpoint", None) == "/boot" and
> +            req.format.type not in self.bootFSTypes):
>              errors.append(_("Bootable partitions cannot be on an %s filesystem.") % req.format.type)
>  
>          if req.type == "luks/dm-crypt":

Looks alright to me.

- 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