From c24fb557efc2b74ef5dd1b499ea1bc8b0a5e5949 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 --- sys-fs/lvm2/lvm2-2.03.20.ebuild | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys-fs/lvm2/lvm2-2.03.20.ebuild b/sys-fs/lvm2/lvm2-2.03.20.ebuild index edbe63435..5f98af780 100644 --- a/sys-fs/lvm2/lvm2-2.03.20.ebuild +++ b/sys-fs/lvm2/lvm2-2.03.20.ebuild @@ -189,13 +189,10 @@ src_test() { src_install() { local INSTALL_TARGETS=( - # full LVM2 - $(usex 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 $(usex $(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[@]}" -- 2.41.0.255.g8b1d071c50-goog