* update lvm2 to 2.03.19-1
This commit is contained in:
parent
b72a0ea96d
commit
59db8f41e1
@ -1,4 +1,4 @@
|
||||
From 4df121ed7d820f5b3d3a87a2c81dbce0801d4fd3 Mon Sep 17 00:00:00 2001
|
||||
From d0a716460c389ebf3af034616c507f5e45610ea6 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Hesse <mail@eworm.de>
|
||||
Date: Mon, 7 Feb 2022 21:12:20 +0100
|
||||
Subject: [PATCH 1/1] udev initcpio
|
||||
@ -6,19 +6,17 @@ Subject: [PATCH 1/1] udev initcpio
|
||||
apply with:
|
||||
patch -Np1 --output='udev/69-dm-lvm-initcpio.rules.in' < ../0001-udev-initcpio.patch
|
||||
---
|
||||
udev/69-dm-lvm.rules.in | 28 +---------------------------
|
||||
1 file changed, 1 insertion(+), 27 deletions(-)
|
||||
udev/69-dm-lvm.rules.in | 26 +-------------------------
|
||||
1 file changed, 1 insertion(+), 25 deletions(-)
|
||||
|
||||
diff --git a/udev/69-dm-lvm.rules.in b/udev/69-dm-lvm.rules.in
|
||||
index 14e7dd26d..2dec88c34 100644
|
||||
index ff1568145..1d7737a6f 100644
|
||||
--- a/udev/69-dm-lvm.rules.in
|
||||
+++ b/udev/69-dm-lvm.rules.in
|
||||
@@ -54,33 +54,7 @@ ACTION!="add", GOTO="lvm_end"
|
||||
@@ -52,31 +52,7 @@ ACTION!="add", GOTO="lvm_end"
|
||||
|
||||
LABEL="lvm_scan"
|
||||
|
||||
-ENV{SYSTEMD_READY}="1"
|
||||
-
|
||||
-# pvscan will check if this device completes a VG,
|
||||
-# i.e. all PVs in the VG are now present with the
|
||||
-# arrival of this PV. If so, it prints to stdout:
|
||||
@ -43,7 +41,7 @@ index 14e7dd26d..2dec88c34 100644
|
||||
-# 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+="/usr/bin/systemd-run --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+="(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}"
|
||||
+RUN+="(LVM_EXEC)/lvm pvscan --background --cache --activate ay --major $major --minor $minor", ENV{LVM_SCANNED}="1"
|
||||
GOTO="lvm_end"
|
||||
|
||||
|
@ -4,14 +4,13 @@
|
||||
|
||||
pkgbase=lvm2
|
||||
pkgname=('lvm2' 'device-mapper')
|
||||
_tag='fba794b52541452da9131af594f5cd0fa7affb6d' # git rev-parse v${pkgver//./_}
|
||||
pkgver=2.03.18
|
||||
pkgrel=4
|
||||
_tag='8a84d53c113371f1908325dbada488c233f04e97' # git rev-parse v${pkgver//./_}
|
||||
pkgver=2.03.19
|
||||
pkgrel=1
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://sourceware.org/lvm2/'
|
||||
license=('GPL2' 'LGPL2.1')
|
||||
makedepends=('git' 'systemd' 'libaio' 'thin-provisioning-tools')
|
||||
options=('!debug')
|
||||
validpgpkeys=('88437EF5C077BD113D3B7224228191C1567E2C17' # Alasdair G Kergon <agk@redhat.com>
|
||||
'D501A478440AE2FD130A1BE8B9112431E509039F') # Marian Csontos <marian.csontos@gmail.com>
|
||||
source=("git+https://sourceware.org/git/lvm2.git#tag=${_tag}?signed"
|
||||
@ -19,7 +18,7 @@ source=("git+https://sourceware.org/git/lvm2.git#tag=${_tag}?signed"
|
||||
'lvm2_install'
|
||||
'11-dm-initramfs.rules')
|
||||
sha256sums=('SKIP'
|
||||
'e9ab9207b805cab702a666a2deb754583e6acd4c46973898ebb4170b563f0eec'
|
||||
'2b3a16ec05e2bc6678e9ebd5ffa8319ebfde29aa260ce004f79f9b8df57d73c9'
|
||||
'8870091ef70b5ea18b18bfcc770f8bda7dcd9d7cc2cc4fe5e4c3ac1f35bbb66a'
|
||||
'e10f24b57582d6e2da71f7c80732a62e0ee2e3b867fe84591ccdb53e80fa92e0')
|
||||
|
||||
@ -66,6 +65,7 @@ build() {
|
||||
--enable-readline \
|
||||
--enable-udev_rules \
|
||||
--enable-udev_sync \
|
||||
--enable-write_install \
|
||||
--with-cache=internal \
|
||||
--with-default-dm-run-dir=/run \
|
||||
--with-default-locking-dir=/run/lock/lvm \
|
||||
|
Loading…
x
Reference in New Issue
Block a user