[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] tools: remove /var/run/xenstored from install target



commit 047b9f81749bfcdf7a8f6cfa303e322c55d64260
Author:     Olaf Hering <olaf@xxxxxxxxx>
AuthorDate: Thu Apr 17 11:55:21 2014 +0200
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Wed Apr 23 12:18:50 2014 +0100

    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 <olaf@xxxxxxxxx>
    Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 tools/xenstore/Makefile |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile
index 262f401..b626104 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)
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.