This commit is contained in:
joborun linux 2024-01-11 02:01:33 +02:00
parent b8ac3ed9c4
commit 6b156c7906
2 changed files with 16 additions and 18 deletions

View file

@ -7,13 +7,16 @@
pkgbase=lvm2
pkgname=('lvm2' 'device-mapper')
_tag='7038cd60222f93f05e4844fe215568de9a67100d' # git rev-parse v${pkgver//./_}
pkgver=2.03.22
pkgrel=02
#_tag='' # git rev-parse v${pkgver//./_}
# latest release does not have a tag... :-\
_commit='d786a8f820d54ce87a919e6af5426c333c173b11'
pkgver=2.03.23
pkgrel=01
url='https://sourceware.org/lvm2/'
makedepends=('git' 'libaio' 'thin-provisioning-tools')
#options=('!makeflags')
source=("git+https://sourceware.org/git/lvm2.git#tag=${_tag}?signed"
#source=("git+https://sourceware.org/git/lvm2.git#tag=${_tag}?signed"
source=("git+https://sourceware.org/git/lvm2.git#commit=${_commit}"
'0001-udev-initcpio.patch'
'lvm2_install'
'11-dm-initramfs.rules')
@ -32,10 +35,6 @@ prepare() {
git show "${_c}" -- ':(exclude)WHATS_NEW' | git apply
done
# install libexec scripts
# https://bugs.archlinux.org/task/79352
sed -i '/^install_lvm2:/s|$| install_libexec|' scripts/Makefile.in
# prepare for non-systemd initcpio
# cp udev/69-dm-lvm.rules.in udev/69-dm-lvm-initcpio.rules.in
# patch -Np1 < ../0001-udev-initcpio.patch
@ -124,6 +123,7 @@ package_lvm2() {
ln -s lvm2 "${pkgdir}/usr/lib/initcpio/install/sd-lvm2"
# extra udev rule for non-systemd initramfs
install -D -m0644 udev/69-dm-lvm-initcpio.rules "${pkgdir}/usr/lib/initcpio/udev/69-dm-lvm.rules"
}
#---- arch license gpg-key & sha256sums ----
@ -140,6 +140,6 @@ sha256sums=(SKIP
def6e03aa1629bbc0ca1ee5e84e620366daf779f037eab2fda47487a8471729b # lvm2_install
e10f24b57582d6e2da71f7c80732a62e0ee2e3b867fe84591ccdb53e80fa92e0) # 11-dm-initramfs.rules
## 95bb872c0f30524a6f38fba3b7165c3f64db876a0eb2c4aa49aaf926b9c2df25 device-mapper-2.03.22-02-x86_64.pkg.tar.lz
## 538558654f6ed104443af1aeb1399233e1cd0b9f770b59992d4c6f1c9435ec39 lvm2-2.03.22-02-x86_64.pkg.tar.lz
## 2af720ce3a520e811b62d79af53a198d9332da7dba9d36079cd61317d3ea0ae2 device-mapper-2.03.23-01-x86_64.pkg.tar.lz
## 388a4fbece4afea1b6746b1588fe61a0bec79f2573c9ddac680236e29b4491dd lvm2-2.03.23-01-x86_64.pkg.tar.lz

View file

@ -3,16 +3,18 @@
pkgbase=lvm2
pkgname=('lvm2' 'device-mapper')
_tag='7038cd60222f93f05e4844fe215568de9a67100d' # git rev-parse v${pkgver//./_}
pkgver=2.03.22
pkgrel=2
#_tag='' # git rev-parse v${pkgver//./_}
# latest release does not have a tag... :-\
_commit='d786a8f820d54ce87a919e6af5426c333c173b11'
pkgver=2.03.23
pkgrel=1
arch=('x86_64')
url='https://sourceware.org/lvm2/'
license=('GPL2' 'LGPL2.1')
makedepends=('git' 'systemd' 'libaio' 'thin-provisioning-tools')
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"
source=("git+https://sourceware.org/git/lvm2.git#commit=${_commit}"
'0001-udev-initcpio.patch'
'lvm2_install'
'11-dm-initramfs.rules')
@ -33,10 +35,6 @@ prepare() {
git show "${_c}" -- ':(exclude)WHATS_NEW' | git apply
done
# install libexec scripts
# https://bugs.archlinux.org/task/79352
sed -i '/^install_lvm2:/s|$| install_libexec|' scripts/Makefile.in
# prepare for non-systemd initcpio
patch -Np1 --output='udev/69-dm-lvm-initcpio.rules.in' < ../0001-udev-initcpio.patch