Add 64bit python path to xend and related python tools
PATCH 1/1 Add 64bit python path to xend and related python tools
This patch adds /usr/lib64/python to the path for python tools so that they can be found on 64bit platforms.
Signed-off-by Jerone Young <[email protected]>
Signature · 4 lines
Jerone Young IBM Linux Technology Center [email protected] 512-838-1157 (T/L: 678-1157)
tools/misc/netfix +1 -0
@@ -11,6 +11,7 @@ from getopt import getopt # add fallback path for non-native python path installs if needed sys.path.append('/usr/lib/python') +sys.path.append('/usr/lib64/python') from xen.util.Brctl import * short_options = 'hvqni:b:c'
tools/misc/xend +1 -0
@@ -32,6 +32,7 @@ XCS_ARGS = (XCS_EXEC, "-p", XCS_PIDFI # add fallback path for non-native python path installs if needed sys.path.append('/usr/lib/python') +sys.path.append('/usr/lib64/python') from xen.xend.server import SrvDaemon class CheckError(ValueError):
tools/misc/xensv +1 -0
@@ -24,6 +24,7 @@ import re # add fallback path for non-native python path installs if needed sys.path.append('/usr/lib/python') +sys.path.append('/usr/lib64/python') from xen.xend.server.params import XEND_PID_FILE class CheckError(ValueError):
tools/misc/xm +1 -0
@@ -4,6 +4,7 @@ import sys # add fallback path for non-native python path installs if needed sys.path.append('/usr/lib/python') +sys.path.append('/usr/lib64/python') from xen.xm import main main.main(sys.argv)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel