]> xenbits.xensource.com Git - xen.git/commitdiff
tools: remove /var/run/xenstored from install target
authorOlaf Hering <olaf@aepfle.de>
Thu, 17 Apr 2014 09:55:21 +0000 (11:55 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 23 Apr 2014 11:18:50 +0000 (12:18 +0100)
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 <olaf@aepfle.de>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/xenstore/Makefile

index 262f401146909fe0ed67a0e67363797e5629004f..b626104d22dbc236d77283bfbd4cc1bc4b813717 100644 (file)
@@ -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)