WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] python: Don't install anything directly u

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] python: Don't install anything directly under /usr/share
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Feb 2010 10:55:13 -0800
Delivery-date: Mon, 22 Feb 2010 10:57:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1266864442 0
# Node ID 4ba4323889b970368675c57417dea94076536431
# Parent  50f7b55b69fc962fdbcc33a0e9ad0e197a385b3a
python: Don't install anything directly under /usr/share
Signed-off-by: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>
---
 tools/python/Makefile                |    4 ++--
 tools/python/xen/xm/xenapi_create.py |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -r 50f7b55b69fc -r 4ba4323889b9 tools/python/Makefile
--- a/tools/python/Makefile     Mon Feb 22 18:46:09 2010 +0000
+++ b/tools/python/Makefile     Mon Feb 22 18:47:22 2010 +0000
@@ -63,8 +63,8 @@ install: install-messages install-dtd
                $(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 \
diff -r 50f7b55b69fc -r 4ba4323889b9 tools/python/xen/xm/xenapi_create.py
--- a/tools/python/xen/xm/xenapi_create.py      Mon Feb 22 18:46:09 2010 +0000
+++ b/tools/python/xen/xm/xenapi_create.py      Mon Feb 22 18:47:22 2010 +0000
@@ -78,7 +78,7 @@ class xenapi_create:
     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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] python: Don't install anything directly under /usr/share, Xen patchbot-unstable <=