xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Guillaume Rousse <Guillaume.Rousse@inria.fr>
To: xen-devel@lists.xensource.com
Subject: [patch] don't install anything directly under /usr/share
Date: Mon, 22 Feb 2010 12:54:37 +0100	[thread overview]
Message-ID: <4B82707D.3040502@inria.fr> (raw)

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

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.

[-- Attachment #2: xen-unstable.hg-fix-dtd-location.patch --]
[-- Type: text/plain, Size: 1350 bytes --]

Signed-off-by: Guillaume Rousse <Guillaume.Rousse@inria.fr>

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):
         """

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

                 reply	other threads:[~2010-02-22 11:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B82707D.3040502@inria.fr \
    --to=guillaume.rousse@inria.fr \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).