|
|
|
@ -323,7 +323,8 @@ class VariableClAutopartitionDevice(AutopartitionHelper, Variable):
|
|
|
|
|
partition.VirtualDiskError) as e:
|
|
|
|
|
raise VariableError(str(e))
|
|
|
|
|
if self.GetBool('cl_autopartition_uefi_set'):
|
|
|
|
|
if not self.Get('cl_autopartition_efi'):
|
|
|
|
|
if not self.Get('cl_autopartition_efi') and \
|
|
|
|
|
self.Get('cl_autopartition_table') == 'gpt':
|
|
|
|
|
raise VariableError(
|
|
|
|
|
_("Selected devices have not EFI partition"))
|
|
|
|
|
if not self.GetBool('cl_autopartition_uefi_set'):
|
|
|
|
@ -509,6 +510,7 @@ class VariableClAutopartitionScheme(AutopartitionHelper, Variable):
|
|
|
|
|
opt = ["--auto-scheme", "-S"]
|
|
|
|
|
metavalue = "AUTOPARTOPTS"
|
|
|
|
|
check_after = ["cl_autopartition_table"]
|
|
|
|
|
untrusted = True
|
|
|
|
|
|
|
|
|
|
def init(self):
|
|
|
|
|
self.help = _("autopartition options")
|
|
|
|
|