sys-fs/lvm2: require full lvm for test

This is a backport of b825c4280d to the
stable ebuild.

Closes: https://bugs.gentoo.org/971432
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2026-03-21 13:42:38 -04:00
parent ad2d4e4926
commit 048c1b8522
+3 -1
View File
@@ -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.