All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add 64bit python path to xend and related python tools
@ 2005-04-25  4:56 Jerone Young
  0 siblings, 0 replies; only message in thread
From: Jerone Young @ 2005-04-25  4:56 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

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 <jyoung@us.ibm.com>
-- 
Jerone Young
IBM Linux Technology Center
jyoung5@us.ibm.com
512-838-1157 (T/L: 678-1157)

[-- Attachment #2: add_64_lib_py_path.diff --]
[-- Type: text/x-patch, Size: 1870 bytes --]

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)

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-25  4:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-25  4:56 [PATCH] Add 64bit python path to xend and related python tools Jerone Young

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.