From 048c1b8522acad2c69f447c816f8fcfbb8dcaacc Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 21 Mar 2026 13:40:06 -0400 Subject: [PATCH] sys-fs/lvm2: require full lvm for test This is a backport of b825c4280dc809870568b6280f787ac82105f4bb to the stable ebuild. Closes: https://bugs.gentoo.org/971432 Signed-off-by: Mike Gilbert --- sys-fs/lvm2/lvm2-2.03.37.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys-fs/lvm2/lvm2-2.03.37.ebuild b/sys-fs/lvm2/lvm2-2.03.37.ebuild index fb0ace7ae2fce..065371ba53dd0 100644 --- a/sys-fs/lvm2/lvm2-2.03.37.ebuild +++ b/sys-fs/lvm2/lvm2-2.03.37.ebuild @@ -14,13 +14,15 @@ S="${WORKDIR}/${PN^^}.${PV}" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="lvm nvme readline sanlock selinux static static-libs systemd thin +udev valgrind" +IUSE="lvm nvme readline sanlock selinux static static-libs systemd test thin +udev valgrind" REQUIRED_USE=" static? ( !systemd !udev !nvme ) static-libs? ( static !udev ) systemd? ( udev ) + test? ( lvm ) thin? ( lvm ) " +RESTRICT="!test? ( test )" # Doesn't strictly need >=sanlock-4.0.0 but autodetects features, so pick # the best we have for predictability. Ditto systemd.