From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Rousse Subject: [patch] don't install anything directly under /usr/share Date: Mon, 22 Feb 2010 12:54:37 +0100 Message-ID: <4B82707D.3040502@inria.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000300050008060801080806" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------000300050008060801080806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The following patch change location of xen configuration file DTD from /usr/share to /usr/share/xen -- BOFH excuse #378: Operators killed by year 2000 bug bite. --------------000300050008060801080806 Content-Type: text/plain; name="xen-unstable.hg-fix-dtd-location.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen-unstable.hg-fix-dtd-location.patch" Signed-off-by: Guillaume Rousse diff -Naur -x '*~' xen-unstable.hg/tools/python/Makefile xen-unstable.hg-fix-dtd-location/tools/python/Makefile --- xen-unstable.hg/tools/python/Makefile 2010-02-21 12:07:40.000000000 +0100 +++ xen-unstable.hg-fix-dtd-location/tools/python/Makefile 2010-02-22 11:36:15.000000000 +0100 @@ -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 \ diff -Naur -x '*~' xen-unstable.hg/tools/python/xen/xm/xenapi_create.py xen-unstable.hg-fix-dtd-location/tools/python/xen/xm/xenapi_create.py --- xen-unstable.hg/tools/python/xen/xm/xenapi_create.py 2010-02-21 12:07:40.000000000 +0100 +++ xen-unstable.hg-fix-dtd-location/tools/python/xen/xm/xenapi_create.py 2010-02-22 11:38:10.000000000 +0100 @@ -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): """ --------------000300050008060801080806 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------000300050008060801080806--