From 5e83ff2b523d20770035dbb417796573e95100b7 Mon Sep 17 00:00:00 2001 From: Rmys Date: Wed, 4 Sep 2024 16:16:53 +0300 Subject: [PATCH] lvm2 ver. bump --- hardware/disk/lvm2/actions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hardware/disk/lvm2/actions.py b/hardware/disk/lvm2/actions.py index 10dd69bd..b7f82432 100644 --- a/hardware/disk/lvm2/actions.py +++ b/hardware/disk/lvm2/actions.py @@ -53,7 +53,10 @@ def install(): shelltools.chmod(get.installDIR() + "/etc/lvm/%s" % dir, 0755) shelltools.chown(get.installDIR() + "/etc/lvm/%s" % dir, uid = 'root', gid = 'root') + shelltools.system("sed -i 's,use_lvmetad = 1,use_lvmetad = 1,' %s/etc/lvm/lvm.conf" % get.installDIR()) + # no systemd + pisitools.remove("/lib/udev/rules.d/69-dm-lvm.rules") #pisitools.move("/sbin/lvmconf","scripts/lvmconf.sh")