summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-11-26 23:29:09 +0000
committerSam James <sam@gentoo.org>2023-11-26 23:29:40 +0000
commit1119f45815ecb1fceff20eea1cb7e5cb8d7ea767 (patch)
treeffe4987eddc185643b1f529fa7205992ba5e3ee5 /sys-fs
parentmedia-sound/cantata: Relax kde-frameworks/breeze-icons slot dep to :* (diff)
downloadgentoo-1119f45815ecb1fceff20eea1cb7e5cb8d7ea767.tar.gz
gentoo-1119f45815ecb1fceff20eea1cb7e5cb8d7ea767.tar.bz2
gentoo-1119f45815ecb1fceff20eea1cb7e5cb8d7ea767.zip
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>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/lvm2/lvm2-2.03.22-r2.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-fs/lvm2/lvm2-2.03.22-r2.ebuild b/sys-fs/lvm2/lvm2-2.03.22-r2.ebuild
index ba546b95e777..e3d8382e2044 100644
--- a/sys-fs/lvm2/lvm2-2.03.22-r2.ebuild
+++ b/sys-fs/lvm2/lvm2-2.03.22-r2.ebuild
@@ -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