From: Olaf Hering Subject: [PATCH] tools: remove /var/run/xenstored from install target Date: Thu, 17 Apr 2014 11:55:21 +0200 Message-ID: <1397728521-19959-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Olaf Hering , Ian.Jackson@eu.citrix.com, Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org xenstored already does "mkdir /var/run/xenstored" on startup, so its not required to create this directory during make install|rpmball. Without this change installing the resulting xen.rpm will fail on systems where /var/run is a symlink. rpm complains that '/var/run' (the symlink) is already owned by some other system rpm package. Signed-off-by: Olaf Hering --- tools/xenstore/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index 262f401..b626104 100644 --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -113,7 +113,6 @@ install: all $(INSTALL_DIR) $(DESTDIR)$(SBINDIR) $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR) $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xenstore-compat - $(INSTALL_DIR) $(DESTDIR)/var/run/xenstored $(INSTALL_DIR) $(DESTDIR)/var/lib/xenstored $(INSTALL_PROG) xenstored $(DESTDIR)$(SBINDIR) $(INSTALL_PROG) xenstore-control $(DESTDIR)$(BINDIR)