From: Olaf Hering Date: Wed, 1 Oct 2014 16:41:09 +0000 (+0200) Subject: tools/hotplug: use INITD_DIR instead of CONFIG_DIR/init.d|rc.d X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4247 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=50dc46985289738b7ade3463f7580f1afd2d7b91;p=xen.git tools/hotplug: use INITD_DIR instead of CONFIG_DIR/init.d|rc.d Signed-off-by: Olaf Hering Acked-by: Ian Campbell Acked-by: Roger Pau Monné Cc: Ian Campbell Cc: Ian Jackson Cc: Stefano Stabellini Cc: Wei Liu --- diff --git a/tools/hotplug/FreeBSD/Makefile b/tools/hotplug/FreeBSD/Makefile index 6480aa5d89..e21f0467d3 100644 --- a/tools/hotplug/FreeBSD/Makefile +++ b/tools/hotplug/FreeBSD/Makefile @@ -31,10 +31,10 @@ install-scripts: .PHONY: install-rcd install-rcd: - $(INSTALL_DIR) $(DESTDIR)$(CONFIG_DIR)/rc.d + $(INSTALL_DIR) $(DESTDIR)$(INITD_DIR) set -e; for i in $(XEN_RCD_PROG); \ do \ - $(INSTALL_PROG) $$i $(DESTDIR)$(CONFIG_DIR)/rc.d; \ + $(INSTALL_PROG) $$i $(DESTDIR)$(INITD_DIR); \ sed -i '' 's,@xen_script_dir@,$(DESTDIR)$(XEN_SCRIPT_DIR),g' $(DESTDIR)$(CONFIG_DIR)/$$i; \ done $(INSTALL_DATA) ../common/hotplugpath.sh $(DESTDIR)$(XEN_SCRIPT_DIR) diff --git a/tools/hotplug/NetBSD/Makefile b/tools/hotplug/NetBSD/Makefile index fc61162df8..908485939f 100644 --- a/tools/hotplug/NetBSD/Makefile +++ b/tools/hotplug/NetBSD/Makefile @@ -33,12 +33,12 @@ install-scripts: .PHONY: install-rcd install-rcd: - $(INSTALL_DIR) $(DESTDIR)$(CONFIG_DIR)/rc.d + $(INSTALL_DIR) $(DESTDIR)$(INITD_DIR) set -e; for i in $(XEN_RCD_PROG); \ do \ - $(INSTALL_PROG) $$i $(DESTDIR)$(CONFIG_DIR)/rc.d; \ + $(INSTALL_PROG) $$i $(DESTDIR)$(INITD_DIR); \ done - $(INSTALL_DATA) ../common/hotplugpath.sh $(DESTDIR)$(CONFIG_DIR)/rc.d/xen-hotplugpath.sh + $(INSTALL_DATA) ../common/hotplugpath.sh $(DESTDIR)$(INITD_DIR)/xen-hotplugpath.sh .PHONY: clean clean: