From a90113f6daaca825da96508722d00b0212781431 Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Fri, 30 Jun 2023 15:45:15 -0700 Subject: [PATCH] sys-fs/lvm2: Do no install install_device-mapper unconditionally `install` rule already implies `install_device-mapper`, so no need to add it in the ebuild. Closes: https://bugs.gentoo.org/909419 Signed-off-by: Gwendal Grignou --- .../lvm2/{lvm2-2.03.21.ebuild => lvm2-2.03.21-r1.ebuild} | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) rename sys-fs/lvm2/{lvm2-2.03.21.ebuild => lvm2-2.03.21-r1.ebuild} (98%) diff --git a/sys-fs/lvm2/lvm2-2.03.21.ebuild b/sys-fs/lvm2/lvm2-2.03.21-r1.ebuild similarity index 98% rename from sys-fs/lvm2/lvm2-2.03.21.ebuild rename to sys-fs/lvm2/lvm2-2.03.21-r1.ebuild index 3c242d428277e..21acca7f719a6 100644 --- a/sys-fs/lvm2/lvm2-2.03.21.ebuild +++ b/sys-fs/lvm2/lvm2-2.03.21-r1.ebuild @@ -195,14 +195,11 @@ src_test() { src_install() { local INSTALL_TARGETS=( - # full LVM2 - $(usev lvm "install install_tmpfiles_configuration") + # full LVM2 or just device mapper. + $(usex lvm "install install_tmpfiles_configuration" "install_device-mapper") # install systemd related files only when requested, bug #522430 $(usev $(usex lvm systemd lvm) "SYSTEMD_GENERATOR_DIR=$(systemd_get_systemgeneratordir) \ install_systemd_units install_systemd_generators") - - # install dm unconditionally - install_device-mapper ) emake V=1 DESTDIR="${D}" "${INSTALL_TARGETS[@]}"