All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerone Young <jyoung5@us.ibm.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] Add 64bit python path to xend and related python tools
Date: Sun, 24 Apr 2005 23:56:56 -0500	[thread overview]
Message-ID: <1114405016.5561.2.camel@thinkpad> (raw)

[-- 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

                 reply	other threads:[~2005-04-25  4:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1114405016.5561.2.camel@thinkpad \
    --to=jyoung5@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.