From: Olaf Hering Subject: [PATCH] tools: remove /var/lock/subsys from install target Date: Thu, 17 Apr 2014 12:04:39 +0200 Message-ID: <1397729079-20975-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 /var/lock/subsys is used only in tools/hotplug/Linux/init.d/xendomains. The start() function already does a "mkdir /var/lock/subsys", 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/lock is a symlink. rpm complains that '/var/lock' (the symlink) is already owned by some other system rpm package. Signed-off-by: Olaf Hering --- tools/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index c3cfb38..ba743a1 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -62,7 +62,6 @@ install: subdirs-install $(INSTALL_DIR) $(DESTDIR)/var/xen/dump $(INSTALL_DIR) $(DESTDIR)/var/log/xen $(INSTALL_DIR) $(DESTDIR)/var/lib/xen - $(INSTALL_DIR) $(DESTDIR)/var/lock/subsys .PHONY: uninstall uninstall: D=$(DESTDIR)