[dev-python/python-blivet] temporarily workaround libc bug on x86

This commit is contained in:
Fabio Erculiani
2014-05-25 11:09:59 +01:00
parent 4c8c5b10da
commit 98c02caccd
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,9 @@
--- a/blivet/devicelibs/mpath.py
+++ b/blivet/devicelibs/mpath.py
@@ -11,4 +11,5 @@ def flush_mpaths():
log.error("multipath: some devices could not be flushed")
def is_multipath_member(path):
- return (util.run_program(["multipath", "-c", path]) == 0)
+ return False
+ # return (util.run_program(["multipath", "-c", path]) == 0)
@@ -39,6 +39,10 @@ src_prepare() {
# libudev in Gentoo is in /usr/lib64 if systemd
epatch "${FILESDIR}/${PN}-udev-path.patch"
# multipath -c hangs on x86 due to a libc bug
# Temporarily disable this
use x86 && epatch "${FILESDIR}/${PN}-workaround-disable-multipath.patch"
# Fix package names
epatch "${FILESDIR}/0001-Update-package-names-to-reflect-Gentoo-ones.patch"
# enable UUID= support for dm-based devices (dmcrypt, md, etc)