don't install anything directly under /usr/share
PATCH 1/1 don't install anything directly under /usr/share
The following patch change location of xen configuration file DTD from /usr/share to /usr/share/xen
Signature · 3 lines
BOFH excuse #378: Operators killed by year 2000 bug bite.
Signed-off-by Guillaume Rousse <[email protected]>
tools/python/Makefile +2 -2
@@ -63,8 +63,8 @@ $(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" --force install-dtd: all - $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR) - $(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)$(SHAREDIR) + $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)/xen + $(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)$(SHAREDIR)/xen install-messages: all set -e; if which $(MSGFMT) >/dev/null ; then \
tools/python/xen/xm/xenapi_create.py +1 -1
@@ -78,7 +78,7 @@ def __init__(self): self.DEFAULT_STORAGE_REPOSITORY = get_default_SR() - self.dtd = join(SHAREDIR, "create.dtd") + self.dtd = join(SHAREDIR, "xen", "create.dtd") def create(self, filename=None, document=None, skipdtd=False): """
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel