tools: remove /var/lock/subsys from install target
PATCH 1/1 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.
--- tools/Makefile | 1 - 1 file changed, 1 deletion(-)
tools/Makefile +0 -1
@@ -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)
Olaf Hering writes ("[PATCH] tools: remove /var/lock/subsys from install target"):
Quoted 7 lines
/var/lock/subsysis used only intools/hotplug/Linux/init.d/xendomains. Thestart()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/lockis a symlink. rpm complains that '/var/lock' (the symlink) is already owned by some other system rpm package.
For the reasons I have explained in my reply to
[PATCH] tools: remove /var/run/xenstored from install target
I concur.
(It would be convenient if related patches like this were grouped into a series, even if it's only two patches.)
Thanks,
Ian.