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

[Xen-devel] [Patch] Install python tools with --force option



Hi,

When I reinstall tools, new tools/python are not installed.
This is cause by being overwriten at "python setup.py install".

Please check your /usr/lib/python is changed to new one.
I think tools/python should be installed with "--force" option at reinstalling.
Otherwise should we use "make uninstall" at reinstalling?


Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

diff -r d60392d5b818 tools/python/Makefile
--- a/tools/python/Makefile     Mon Mar  6 19:29:39 2006
+++ b/tools/python/Makefile     Tue Mar  7 19:28:32 2006
@@ -9,10 +9,10 @@
 
 ifndef XEN_PYTHON_NATIVE_INSTALL
 install: all
-       CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr"
+       CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" 
--force
 else
 install: all
-       CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
+       CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" --force
 endif
 
 test:


Best Regards,

Akio Takebe



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


 


Rackspace

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