From e9d09142d398d86df3b1f0b6f092b7dce64197f9 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Tue, 10 Oct 2017 13:44:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B8=D1=80=D1=82=D1=83=D0=B0=D0=BB?= =?UTF-8?q?=D1=8C=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B7=D0=BC=D0=B5=D1=82?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=BD=D0=B5=20=D1=81=D0=BE=D0=B7=D0=B4=D0=B0?= =?UTF-8?q?=D1=91=D1=82=20=D1=82=D0=BE=D1=87=D0=BA=D0=B8=20=D0=BC=D0=BE?= =?UTF-8?q?=D0=BD=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?/boot/efi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/calculate/lib/utils/debug.py | 2 +- pym/calculate/lib/utils/partition.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pym/calculate/lib/utils/debug.py b/pym/calculate/lib/utils/debug.py index c93bbc2..1811ee9 100644 --- a/pym/calculate/lib/utils/debug.py +++ b/pym/calculate/lib/utils/debug.py @@ -192,7 +192,7 @@ def dump_real_lvm(fn): """ try: with writeFile(fn) as f: - lvm = Lvm() + lvm = Lvm(LvmCommand()) lvm.refresh() f.write(lvm.pvdisplay_output("vg_name,lv_name,pv_name")) except IOError as e: diff --git a/pym/calculate/lib/utils/partition.py b/pym/calculate/lib/utils/partition.py index 7228d79..22dae42 100644 --- a/pym/calculate/lib/utils/partition.py +++ b/pym/calculate/lib/utils/partition.py @@ -976,8 +976,6 @@ class VariableFactory(BuilderFactory): self.pesize = None def get_mount_point(self, purpose): - if not self.efi and purpose == VolumesBuilder.Purpose.EfiBoot: - return "/boot/efi" return self.purpose_mount.get(purpose, '') def get_format(self, purpose):