From 047b9f81749bfcdf7a8f6cfa303e322c55d64260 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 17 Apr 2014 11:55:21 +0200 Subject: [PATCH] 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 --- tools/xenstore/Makefile | 1 - 1 file changed, 1 deletion(-) 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) -- 2.39.5