--- storage/formats/fs.py | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/storage/formats/fs.py b/storage/formats/fs.py index 177b43f..58c38d3 100644 --- a/storage/formats/fs.py +++ b/storage/formats/fs.py @@ -822,11 +822,26 @@ register_device_format(Ext3FS) class Ext4FS(Ext3FS): """ ext4 filesystem. """ _type = "ext4" - _bootable = False + _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) -- 1.6.1.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list