diff --git a/pkg.info b/pkg.info index 98b6321..652c871 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: lvm2 description: Logical Volume Manager 2 -version: 2.03.40 +version: 2.03.41 revision: 1 url: https://sourceware.org/lvm2/ license: GPL2,LGPL2.1 @@ -18,19 +18,22 @@ downloads: - url: https://gitlab.com/lvmteam/lvm2/-/archive/v${BPM_PKG_VERSION//./_}/lvm2-v${BPM_PKG_VERSION//./_}.tar.gz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: d36e058866df93de77df199d275f9fd2ca24317c8967f4a925bf8d3b83567140 + checksum: e80564b8df674f8fe8db6c6fc6977f245eed46a1e21d74af0545bfbdeb92f59b split_packages: - name: lvm2 keep: - etc/lvm/lvm.conf - etc/lvm/lvmlocal.conf depends: + - bash - device-mapper - libaio - readline + - thin-provisioning-tools - util-linux - name: device-mapper description: Device mapper userspace library and tools depends: + - gcc-libs - glibc - - udev + - libudev diff --git a/source-files/udev-activation-without-systemd.patch b/source-files/0001-udev-activation-without-systemd.patch similarity index 100% rename from source-files/udev-activation-without-systemd.patch rename to source-files/0001-udev-activation-without-systemd.patch diff --git a/source-files/0002-libdm-makefile-add-an-empty-target-install_lvm2.patch b/source-files/0002-libdm-makefile-add-an-empty-target-install_lvm2.patch new file mode 100644 index 0000000..021772f --- /dev/null +++ b/source-files/0002-libdm-makefile-add-an-empty-target-install_lvm2.patch @@ -0,0 +1,23 @@ +From 905ed1e4104b8719e03a44a99c514c4744939f8a Mon Sep 17 00:00:00 2001 +From: Christian Hesse +Date: Mon, 18 May 2026 10:02:25 +0200 +Subject: [PATCH 1/1] libdm/Makefile: add an empty target install_lvm2 + +This is required to make a top-level `make install_lvm2` succeed. +--- + libdm/Makefile.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libdm/Makefile.in b/libdm/Makefile.in +index 34e17a3f7..866c3e230 100644 +--- a/libdm/Makefile.in ++++ b/libdm/Makefile.in +@@ -102,6 +102,8 @@ endif + install: $(INSTALL_TYPE) install_include + + install_device-mapper: install ++ ++install_lvm2: + + install_include: $(srcdir)/libdevmapper.h + $(SHOW) " [INSTALL] $<" diff --git a/source.sh b/source.sh index bce52fe..712e7fa 100644 --- a/source.sh +++ b/source.sh @@ -4,7 +4,8 @@ prepare() { cd "$BPM_SOURCE" - patch -Np1 -i "$BPM_WORKDIR"/udev-activation-without-systemd.patch + patch -Np1 -i "$BPM_WORKDIR"/0001-udev-activation-without-systemd.patch + patch -Np1 -i "$BPM_WORKDIR"/0002-libdm-makefile-add-an-empty-target-install_lvm2.patch } # The build function is executed in the source directory