From: Olaf Hering Date: Thu, 17 Apr 2014 14:13:48 +0000 (+0200) Subject: tools/libxl: remove XEN_RUN_DIR from install target X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~5159 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b4f745115f48e54ca0193dcb08101ab50e929d5e;p=xen.git tools/libxl: remove XEN_RUN_DIR from install target 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 Acked-by: Ian Campbell --- diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index 755b6665bf..4cfa27578f 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)