| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, by default we would install our python modules into
/usr/lib/python/xen, for example /usr/lib/python/xen/__init__.py.
Upstream python's standard install location (a) includes the Python
version number and (b) puts things in site-packages by default.
Our best conjecture for the reason for this was an attempt to make the
installs portable between different python versions. However, that
doesn't work because compiled python modules (.pyc), and C python
extensions corresponding to one version of python, are not compatible
across different versions of python.
This is why upstream include the version number.
site-packages is the standard location for locally-installed packages
and is automatically included on the python search path.
In this change, we abandon our own unusual python path setup:
* Invoke setup.py in an entirely standard manner. We pass
PREFIX and DESTDIR using the appropriate options provided by
setup.py for those purposes (adding them to setup.py calls
which were previously lacking them).
* Since the installation locations are now on the standard
python path, we no longer need to add anything to the path
in any of our python utilities. Therefore remove all that
code from every python script. (Many of these scripts
unconditionally added /usr/lib/python and /usr/lib64/python which
is wrong even in the old world.)
* There is no longer any special `Xen python path'. xen-python-path
is no longer needed. It is no longer called by anything in our
tree. However since out-of-tree callers may still invoke it, we
retain it. It now prints a fixed string referring to a directory
which does not to exist; callers (who use it to augment their
python path) will thus add a nonexistent directory to their python
path which is harmless.
* Remove various workarounds including use of setup.py --home
(which is intended for something completely different).
* Remove tests for the XEN_PYTHON_NATIVE_INSTALL build-time
environment variable. The new behaviour is the behaviour which we
should have had if this variable had been set. That is, it is now
as if this variable was always set but also bugs in the resulting
install have been fixed.
This should be a proper fix for the bug addressed by c/s 19515.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move .PHONY directives next to targets,
this makes them a lot harder to miss
* Add missing .PHONY directives
* Remove nonexistent .PHONY directives
* Hopefully I didn'T miss anything...
Signed-Off-By: Horms <horms@verge.net.au>
|
| |
|
|
|
|
|
| |
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
|
|
|
|
|
|
|
| |
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
--HG--
rename : tools/sv/images/internet copy.jpg => tools/sv/images/internet_copy.jpg
|
|
|
|
|
|
| |
Now uses Python Server Pages, not twisted.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setup.py, Makefile:
Remove XenSV -- it's been broken since twisted was removed.
Many files:
Delete: tools/misc/xensv
Delete: tools/python/xen/sv/params.py
Delete: tools/python/xen/sv/__init__.py
Delete: tools/python/xen/sv/MigrateDomain.py
Delete: tools/python/xen/sv/Daemon.py
Delete: tools/python/xen/sv/util.py
Delete: tools/python/xen/sv/Wizard.py
Delete: tools/python/xen/sv/TabView.py
Delete: tools/python/xen/sv/SaveDomain.py
Delete: tools/python/xen/sv/RestoreDomain.py
Delete: tools/python/xen/sv/NodeInfo.py
Delete: tools/python/xen/sv/Main.py
Delete: tools/python/xen/sv/HTMLBase.py
Delete: tools/python/xen/sv/GenTabbed.py
Delete: tools/python/xen/sv/DomList.py
Delete: tools/python/xen/sv/DomInfo.py
Delete: tools/python/xen/sv/CreateDomain.py
Delete: tools/sv/images/unpause.png
Delete: tools/sv/images/small-unpause.png
Delete: tools/sv/images/small-pause.png
Delete: tools/sv/images/small-destroy.png
Delete: tools/sv/images/shutdown.png
Delete: tools/sv/images/seperator.jpg
Delete: tools/sv/images/right-end-highlight.jpg
Delete: tools/sv/images/reboot.png
Delete: tools/sv/images/previous.png
Delete: tools/sv/images/pause.png
Delete: tools/sv/images/orb_02.jpg
Delete: tools/sv/images/next.png
Delete: tools/sv/images/middle-no-highlight.jpg
Delete: tools/sv/images/middle-highlight.jpg
Delete: tools/sv/images/left-end-no-highlight.jpg
Delete: tools/sv/images/left-end-highlight.jpg
Delete: tools/sv/images/finish.png
Delete: tools/sv/images/destroy.png
Delete: tools/sv/inc/style.css
Delete: tools/sv/images/seperator-right-highlight.jpg
Delete: tools/sv/images/seperator-left-highlight.jpg
Delete: tools/sv/inc/script.js
Delete: tools/sv/images/right-end-no-highlight.jpg
Delete: tools/sv/images/orb_01.jpg
Delete: tools/sv/Makefile
Delete: tools/sv/Main.rpy
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
|
|
|
|
|
|
|
| |
Build system cleanups.
Signed-off-by: c@pin.lu
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description: use DESTDIR correctly
Standard makefiles always attempt to install to the root(/). Setting
DESTDIR is the normal way to install to an alternative location.
Setting prefix has the possibility of breaking programs, as the prefix
may have been embedded inside a compiled binary.
From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
|
|
|
|
|
|
|
|
| |
Description: Use FHS-compatible paths
From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
|
|
|
|
|
|
|
|
|
|
|
| |
Description: use INSTALL everywhere
Use install(by way of INSTALL variables) to create directories, install
programs, and install data files.
From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
|
|
|
|
|
|
| |
Makefile:
Make install a lot less noisy and cleanup.
|
|
|
|
|
|
|
| |
Added error checking, small button on domain list,
updated to be compatible with latest xend, and
some small changes to domain creation.
|
|
|
|
|
| |
More work on wizard
|
|
|
|
|
|
|
| |
Started to implement the Create Domain Wizzard.
Doesn't work yet (along way off).
Slight refactoring of other code to make it more extensible
|
|
|
|
|
|
|
| |
Added menu writing, improving the menu on the left of the page,
and gerneralized getDomInfoHash, should work with upgraded versions
of xend
|
|
|
|
|
|
| |
Added general support for actions
Slightly generalized and refactored code for modules / tabs
|
|
|
|
|
| |
make 'make install' work more than once if the installed files are not writable
|
|
Changed location of sv - http share sits at /var/xen/sv
while python files have been move out of xend
|