pkgsrc/sysutils/xentools41/patches/patch-ah
bouyer 8390fe6133 Install hotplug scripts (actually called by xenbackendd on NetBSD)
in share/examples/xen/scripts, and copy them to etc/xen/scripts/.
Bump pkgrevision
2011-04-15 10:32:22 +00:00

40 lines
1.2 KiB
Text

$NetBSD: patch-ah,v 1.2 2011/04/15 10:32:22 bouyer Exp $
--- hotplug/NetBSD/Makefile.orig 2011-03-25 11:42:50.000000000 +0100
+++ hotplug/NetBSD/Makefile 2011-04-15 11:38:32.000000000 +0200
@@ -8,7 +8,7 @@
XEN_SCRIPTS += vif-ip
XEN_SCRIPT_DATA =
-XEN_RCD_PROG = rc.d/xencommons rc.d/xend rc.d/xendomains rc.d/xen-watchdog
+#XEN_RCD_PROG = rc.d/xencommons rc.d/xend rc.d/xendomains rc.d/xen-watchdog
.PHONY: all
all:
@@ -21,10 +21,11 @@
.PHONY: install-scripts
install-scripts:
- $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR)
+ $(INSTALL_DIR) $(DESTDIR)$(XEN_EXAMPLES_DIR)
+ $(INSTALL_DIR) $(DESTDIR)$(XEN_EXAMPLES_DIR)/scripts
set -e; for i in $(XEN_SCRIPTS); \
do \
- $(INSTALL_PROG) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \
+ $(INSTALL_PROG) $$i $(DESTDIR)$(XEN_EXAMPLES_DIR)/scripts; \
done
set -e; for i in $(XEN_SCRIPT_DATA); \
do \
@@ -33,12 +34,6 @@
.PHONY: install-rcd
install-rcd:
- $(INSTALL_DIR) $(DESTDIR)$(CONFIG_DIR)/rc.d
- set -e; for i in $(XEN_RCD_PROG); \
- do \
- $(INSTALL_PROG) $$i $(DESTDIR)$(CONFIG_DIR)/rc.d; \
- done
- $(INSTALL_DATA) ../common/hotplugpath.sh $(DESTDIR)$(CONFIG_DIR)/rc.d/xen-hotplugpath.sh
.PHONY: clean
clean: