From ce7655039257e5a0621539f12bbd46552ee40d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Wed, 27 Jun 2018 17:25:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B2=D1=8B=D0=B1=D0=BE=D1=80=20=D1=80=D0=B0?= =?UTF-8?q?=D0=B7=D1=80=D0=B5=D1=88=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D1=84=D1=80=D0=B5=D0=B9=D0=BC=D0=B1=D1=83=D1=84=D0=B5?= =?UTF-8?q?=D1=80=D0=B0=20=D0=B2=20UEFI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/install/variables/X11.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pym/install/variables/X11.py b/pym/install/variables/X11.py index 7967650..361306d 100644 --- a/pym/install/variables/X11.py +++ b/pym/install/variables/X11.py @@ -356,9 +356,12 @@ class VariableOsInstallFbResolution(ResolutionVariable): kms = self.Get('install.os_x11_kms_video_drv') return drv in kms + def using_uefi(self): + return self.GetBool('install.os_install_uefi_set') + def get(self): x11res = self.Get('os_install_x11_resolution') - if self.using_kms(): + if self.using_kms() or self.using_uefi(): return x11res hwinfo = device.Hwinfo() try: