[mock patch] add ia64 and alpha to personality_defs
Doug Chapman
doug.chapman at hp.com
Thu Dec 20 14:30:54 UTC 2007
Patch to quiet the "Unable to find predefined setarch personality"
warnings seen on ia64. I added alpha as well while I was at it.
Signed-off-by: Doug Chapman <doug.chapman at hp.com>
----
diff -up mock-0.9.3/py/mock/util.py.arches mock-0.9.3/py/mock/util.py
--- mock-0.9.3/py/mock/util.py.arches 2007-12-20 09:26:36.000000000 -0500
+++ mock-0.9.3/py/mock/util.py 2007-12-20 09:27:13.000000000 -0500
@@ -190,6 +190,7 @@ personality_defs = {
'x86_64': PER_LINUX, 'ppc64': PER_LINUX, 'sparc64': PER_LINUX,
'i386': PER_LINUX32, 'i586': PER_LINUX32, 'i686': PER_LINUX32,
'ppc': PER_LINUX32, 'sparc': PER_LINUX32, 'sparcv9': PER_LINUX32,
+ 'ia64' : PER_LINUX, 'alpha' : PER_LINUX,
}
import ctypes
More information about the Fedora-buildsys-list
mailing list