This commit is contained in:
Dimitri John Ledkov 2019-03-20 01:21:29 +00:00
parent 46131d2b0b
commit 0ccd26bcaf
No known key found for this signature in database
GPG Key ID: E8E84908F903AFB5
2 changed files with 5 additions and 5 deletions

View File

@ -1032,7 +1032,8 @@ class FilesystemModel(object):
log.debug("adding %s to %s", fstype, volume)
if not volume.available:
if not isinstance(volume, Partition):
if (volume.flag == 'prep' or (volume.flag == 'bios_grub' and fstype == 'fat32')):
if (volume.flag == 'prep' or (
volume.flag == 'bios_grub' and fstype == 'fat32')):
raise Exception("{} is not available".format(volume))
if isinstance(volume, Disk):
self._use_disk(volume)

View File

@ -211,9 +211,8 @@ boot_partition_description = _(
prep_partition_description = _(
"Required bootloader partition\n"
"\n"
'This is the PReP partion which is required on POWER systems. Grub will be '
'installed onto this partition. The '
'only aspect of this partition that can be edited is the size.')
'This is the PReP partion which is required on POWER. Grub will be '
'installed onto this partition.')
class PartitionStretchy(Stretchy):
@ -312,7 +311,7 @@ class PartitionStretchy(Stretchy):
focus_index = 2
elif self.partition.flag == "prep":
rows.extend([
Text(_(prep_grub_partition_description)),
Text(_(prep_partition_description)),
Text(""),
])
focus_index = 2