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

Re: [PATCH 1/2] Allow /boot on ext4 now that we have a grub that allows it



> diff --git a/storage/formats/fs.py b/storage/formats/fs.py
> index 96697ec..0c08764 100644
> --- a/storage/formats/fs.py
> +++ b/storage/formats/fs.py
> @@ -923,26 +923,10 @@ register_device_format(Ext3FS)
>  class Ext4FS(Ext3FS):
>      """ ext4 filesystem. """
>      _type = "ext4"
> -    _bootable = None
>      _defaultFormatOptions = ["-t", "ext4"]
>      _migratable = False
>      _modules = ["ext4"]
>  
> -    @property
> -    def bootable(self):
> -        if self._bootable is not None:
> -            return self._bootable
> -
> -        import platform
> -        p = platform.getPlatform(None)
> -
> -        if isinstance(p, platform.PS3):
> -            self._bootable = True
> -        else:
> -            self._bootable = False
> -
> -        return self._bootable
> -
>  register_device_format(Ext4FS)

Ship it.

- Chris


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