From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerone Young Subject: [PATCH] Add 64bit python path to xend and related python tools Date: Sun, 24 Apr 2005 23:56:56 -0500 Message-ID: <1114405016.5561.2.camel@thinkpad> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-HJSaYTT5eKylqE3qoOMp" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org --=-HJSaYTT5eKylqE3qoOMp Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 -- Jerone Young IBM Linux Technology Center jyoung5@us.ibm.com 512-838-1157 (T/L: 678-1157) --=-HJSaYTT5eKylqE3qoOMp Content-Disposition: attachment; filename=add_64_lib_py_path.diff Content-Type: text/x-patch; name=add_64_lib_py_path.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit diff -Nuarp xen-unstable.orig/tools/misc/netfix xen-unstable/tools/misc/netfix --- xen-unstable.orig/tools/misc/netfix 2005-04-22 13:36:51.000000000 -0500 +++ xen-unstable/tools/misc/netfix 2005-04-22 14:29:03.000000000 -0500 @@ -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' diff -Nuarp xen-unstable.orig/tools/misc/xend xen-unstable/tools/misc/xend --- xen-unstable.orig/tools/misc/xend 2005-04-22 13:36:51.000000000 -0500 +++ xen-unstable/tools/misc/xend 2005-04-22 14:30:21.000000000 -0500 @@ -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): diff -Nuarp xen-unstable.orig/tools/misc/xensv xen-unstable/tools/misc/xensv --- xen-unstable.orig/tools/misc/xensv 2005-04-22 13:36:51.000000000 -0500 +++ xen-unstable/tools/misc/xensv 2005-04-22 14:33:52.000000000 -0500 @@ -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): diff -Nuarp xen-unstable.orig/tools/misc/xm xen-unstable/tools/misc/xm --- xen-unstable.orig/tools/misc/xm 2005-04-22 13:36:51.000000000 -0500 +++ xen-unstable/tools/misc/xm 2005-04-22 14:33:07.000000000 -0500 @@ -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) --=-HJSaYTT5eKylqE3qoOMp Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-HJSaYTT5eKylqE3qoOMp--