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

[Xen-changelog] [xen master] tools: remove /var/lock/subsys from install target



commit db6d500550f3799e70716343b26c93217792322d
Author:     Olaf Hering <olaf@xxxxxxxxx>
AuthorDate: Thu Apr 17 12:04:39 2014 +0200
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Wed Apr 23 12:20:19 2014 +0100

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

diff --git a/tools/Makefile b/tools/Makefile
index 2d32f27..3675515 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -63,7 +63,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)
--
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®.