sys-fs/lvm2: -j1 for install

There's a race with installing dmsetup where it gets re-created in the image
which breaks things. It's awkward to fix because of the upstream Makefile
layout. Just serialise the install part which shouldn't be a big deal anyway.

Closes: https://bugs.gentoo.org/918125
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-11-26 23:29:40 +00:00
parent 174ab1b74b
commit 1119f45815
+3 -1
View File
@@ -204,7 +204,9 @@ src_install() {
else
targets+=( install_device-mapper )
fi
emake V=1 DESTDIR="${D}" "${targets[@]}"
# -j1 for bug #918125
emake -j1 V=1 DESTDIR="${D}" "${targets[@]}"
newinitd "${FILESDIR}"/device-mapper.rc-r3 device-mapper
newconfd "${FILESDIR}"/device-mapper.conf-r4 device-mapper