From: Olaf Hering Date: Thu, 17 Apr 2014 09:55:21 +0000 (+0200) Subject: tools: remove /var/run/xenstored from install target X-Git-Tag: 4.5.0-rc1~1010 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=047b9f81749bfcdf7a8f6cfa303e322c55d64260;p=xen.git tools: remove /var/run/xenstored from install target 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 Acked-by: Ian Jackson Acked-by: Ian Campbell --- diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index 262f401146..b626104d22 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)