commit:     adfd6d40a22310df2b4c048d84d80ddfda7d1a4c
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 26 18:10:04 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Oct 26 18:11:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adfd6d40

sys-fs/lvm2: work around faulty device-mapper target

Bug: https://bugs.gentoo.org/878131
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-fs/lvm2/lvm2-2.03.14-r3.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-fs/lvm2/lvm2-2.03.14-r3.ebuild 
b/sys-fs/lvm2/lvm2-2.03.14-r3.ebuild
index 09335d12ddaf..516cac617655 100644
--- a/sys-fs/lvm2/lvm2-2.03.14-r3.ebuild
+++ b/sys-fs/lvm2/lvm2-2.03.14-r3.ebuild
@@ -203,6 +203,8 @@ src_compile() {
 
        if use device-mapper-only ; then
                emake V=1 device-mapper
+               # https://bugs.gentoo.org/878131
+               emake -C libdm/dm-tools V=1 device-mapper
        else
                emake V=1
                emake V=1 CC="$(tc-getCC)" -C scripts 
lvm2_activation_generator_systemd_red_hat

Reply via email to