[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Trivial change to look in correct location for qemu-dm when using the debug wrapper on a 64 bit system.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 182678e5095b86b759752db5e322e65deaff8dbc
# Parent  b223ba940ed14b8e016b7a6544418f835d212410
Trivial change to look in correct location for qemu-dm when using the debug 
wrapper on a 64 bit system.
Signed-off-by: Ben Thomas <ben@xxxxxxxxxxxxxxx>
---
 tools/ioemu/target-i386-dm/qemu-dm.debug |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)

diff -r b223ba940ed1 -r 182678e5095b tools/ioemu/target-i386-dm/qemu-dm.debug
--- a/tools/ioemu/target-i386-dm/qemu-dm.debug  Tue Nov 07 09:29:53 2006 +0000
+++ b/tools/ioemu/target-i386-dm/qemu-dm.debug  Tue Nov 07 09:32:02 2006 +0000
@@ -1,5 +1,10 @@
 #!/bin/sh
 
+if [ "`arch`" = "x86_64" ]; then
+    LIBDIR="lib64"
+else
+    LIBDIR="lib"
+fi
 echo $* > /tmp/args
 echo $DISPLAY >> /tmp/args
-exec /usr/lib/xen/bin/qemu-dm $*
+exec /usr/$LIBDIR/xen/bin/qemu-dm $*

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.