From 7e3d0c2da4e7309ca5e30854dd94192cba058a5c Mon Sep 17 00:00:00 2001 From: Rmys Date: Fri, 24 Nov 2023 14:49:03 +0300 Subject: [PATCH] lvm2-2.03.23 --- hardware/disk/lvm2/actions.py | 2 ++ .../files/lvm2-2.03.20-dm_lvm_rules_no_systemd.patch | 11 +++++++++++ hardware/disk/lvm2/pspec.xml | 11 +++++++++-- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 hardware/disk/lvm2/files/lvm2-2.03.20-dm_lvm_rules_no_systemd.patch diff --git a/hardware/disk/lvm2/actions.py b/hardware/disk/lvm2/actions.py index 0fc6ff7c..10dd69bd 100644 --- a/hardware/disk/lvm2/actions.py +++ b/hardware/disk/lvm2/actions.py @@ -9,6 +9,8 @@ from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools +shelltools.export("LC_ALL", "en_US.UTF-8") + def setup(): shelltools.export("CONFIG_SHELL", "/bin/bash") autotools.configure("--with-usrlibdir=/usr/lib \ diff --git a/hardware/disk/lvm2/files/lvm2-2.03.20-dm_lvm_rules_no_systemd.patch b/hardware/disk/lvm2/files/lvm2-2.03.20-dm_lvm_rules_no_systemd.patch new file mode 100644 index 00000000..e39d7959 --- /dev/null +++ b/hardware/disk/lvm2/files/lvm2-2.03.20-dm_lvm_rules_no_systemd.patch @@ -0,0 +1,11 @@ +--- a/udev/69-dm-lvm.rules.in ++++ b/udev/69-dm-lvm.rules.in +@@ -76,7 +76,7 @@ + # it's better suited to appearing in the journal. + + IMPORT{program}="(LVM_EXEC)/lvm pvscan --cache --listvg --checkcomplete --vgonline --autoactivation event --udevoutput --journal=output $env{DEVNAME}" +-ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(SYSTEMDRUN) --no-block --property DefaultDependencies=no --unit lvm-activate-$env{LVM_VG_NAME_COMPLETE} (LVM_EXEC)/lvm vgchange -aay --autoactivation event $env{LVM_VG_NAME_COMPLETE}" ++ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="(LVM_EXEC)/lvm vgchange -aay --nohints --autoactivation event $env{LVM_VG_NAME_COMPLETE}" + GOTO="lvm_end" + + LABEL="lvm_end" diff --git a/hardware/disk/lvm2/pspec.xml b/hardware/disk/lvm2/pspec.xml index 04fc46ab..fa8a11dc 100644 --- a/hardware/disk/lvm2/pspec.xml +++ b/hardware/disk/lvm2/pspec.xml @@ -12,7 +12,7 @@ app:console Userland logical volume management tools LVM2 includes all of the support for handling read/write operations physical and logical volumes. - http://mirrors.kernel.org/sourceware/lvm2/LVM2.2.03.19.tgz + http://mirrors.kernel.org/sourceware/lvm2/LVM2.2.03.23.tgz libutil-linux-devel eudev-devel @@ -38,7 +38,7 @@ lvm2-2.02.186-udev_remove_unsupported_option.patch mlockall-default-config.patch - + lvm2-2.03.20-dm_lvm_rules_no_systemd.patch @@ -188,6 +188,13 @@ + + 2023-11-24 + 2.03.23 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2023-02-21 2.03.19