Skip to content

Commit

Permalink
sys-fs/lvm2: Do no install install_device-mapper unconditionally
Browse files Browse the repository at this point in the history
`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 <gwendal@chromium.org>
  • Loading branch information
gwendalcr committed Jul 14, 2023
1 parent c9c2c64 commit a90113f
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"

Expand Down

0 comments on commit a90113f

Please sign in to comment.