From: Olaf Hering Subject: [PATCH 7/9] tools/libxl: remove XEN_RUN_DIR from install target Date: Thu, 17 Apr 2014 16:13:48 +0200 Message-ID: <1397744030-31806-8-git-send-email-olaf@aepfle.de> References: <1397744030-31806-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1397744030-31806-1-git-send-email-olaf@aepfle.de> 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 xencommons creates the _hardcoded_ /var/run/xen already, there is no need to create and package 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. Using XEN_RUN_DIR instead of /var/run/xen tree-wide may be done in a followup patch. Signed-off-by: Olaf Hering --- tools/libxl/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index 755b666..4cfa275 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -230,7 +230,6 @@ install: all $(INSTALL_DIR) $(DESTDIR)$(LIBDIR) $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR) $(INSTALL_DIR) $(DESTDIR)$(BASH_COMPLETION_DIR) - $(INSTALL_DIR) $(DESTDIR)$(XEN_RUN_DIR) $(INSTALL_DIR) $(DESTDIR)$(PRIVATE_BINDIR) $(INSTALL_PROG) xl $(DESTDIR)$(SBINDIR) $(INSTALL_PROG) libxl-save-helper $(DESTDIR)$(PRIVATE_BINDIR)