head 1.3; access; symbols pkgsrc-2020Q2:1.2.0.34 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.14 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.36 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.32 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.30 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.28 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.26 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.24 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.22 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.20 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.18 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.16 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.12 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.10 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.8 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.6 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.4 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.2 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.1.0.8 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.6 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.4 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.2 pkgsrc-2015Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2020.08.19.10.39.25; author bouyer; state dead; branches; next 1.2; commitid DGAMglRf0Jde6FkC; 1.2 date 2016.04.04.14.45.12; author bad; state Exp; branches; next 1.1; commitid bSOFuYttnrZUOj1z; 1.1 date 2015.01.20.16.42.13; author bouyer; state Exp; branches; next ; commitid JA3wqnCTLthdCM6y; desc @@ 1.3 log @Remove xenkernel and xentools packages older than 4.11. They're not maintained anymore upstream, and don't build on supported NetBSD releases. @ text @$NetBSD: patch-hotplug_NetBSD_Makefile,v 1.2 2016/04/04 14:45:12 bad Exp $ --- hotplug/NetBSD/Makefile.orig 2015-11-03 10:11:18.000000000 +0100 +++ hotplug/NetBSD/Makefile 2016-03-25 15:21:34.000000000 +0100 @@@@ -3,12 +3,13 @@@@ # Xen script dir and scripts to go there. XEN_SCRIPTS = +XEN_SCRIPTS += locking.sh XEN_SCRIPTS += block XEN_SCRIPTS += vif-bridge XEN_SCRIPTS += vif-ip XEN_SCRIPT_DATA = -XEN_RCD_PROG = rc.d/xencommons rc.d/xendomains rc.d/xen-watchdog +#XEN_RCD_PROG = rc.d/xencommons rc.d/xendomains rc.d/xen-watchdog .PHONY: all all: @@@@ -21,10 +22,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 +35,12 @@@@ .PHONY: install-rcd install-rcd: - $(INSTALL_DIR) $(DESTDIR)$(INITD_DIR) - set -e; for i in $(XEN_RCD_PROG); \ - do \ - $(INSTALL_PROG) $$i $(DESTDIR)$(INITD_DIR); \ - done - $(INSTALL_DATA) ../common/hotplugpath.sh $(DESTDIR)$(INITD_DIR)/xen-hotplugpath.sh +# $(INSTALL_DIR) $(DESTDIR)$(INITD_DIR) +# set -e; for i in $(XEN_RCD_PROG); \ +# do \ +# $(INSTALL_PROG) $$i $(DESTDIR)$(INITD_DIR); \ +# done +# $(INSTALL_DATA) ../common/hotplugpath.sh $(DESTDIR)$(INITD_DIR)/xen-hotplugpath.sh .PHONY: clean clean: @ 1.2 log @Guard the NetBSD block device hotplug script against concurrent execution. xl(1) runs the hotplug scripts in parallel. This causes failures when the next free vnd device is selected. Locking modeled after the Linux block hotplug script. @ text @d1 1 a1 1 $NetBSD: patch-hotplug_NetBSD_Makefile,v 1.1 2015/01/20 16:42:13 bouyer Exp $ @ 1.1 log @Xen is a virtual machine monitor which supports running multiple guests operating systems on a single machine. Guest OSes (also called "domains") require a modified kernel which supports Xen hypercalls in replacement to access to the physical hardware. At boot, the xen kernel is loaded along with the guest kernel for the first domain (called domain0). domain0 has privileges to access the physical hardware (PCI and ISA devices), administrate other domains and provide virtual devices (disks and network) to other domains. xenkernel45 and xentools45 contains the kernel and tools from the Xen 4.5.x branch @ text @d1 1 a1 1 $NetBSD: patch-hotplug_NetBSD_Makefile,v 1.1 2013/05/15 06:58:50 jnemeth Exp $ d3 9 a11 3 --- hotplug/NetBSD/Makefile.orig 2015-01-12 17:53:24.000000000 +0100 +++ hotplug/NetBSD/Makefile 2015-01-19 14:18:22.000000000 +0100 @@@@ -8,7 +8,7 @@@@ d20 1 a20 1 @@@@ -21,10 +21,11 @@@@ d34 1 a34 1 @@@@ -33,12 +34,12 @@@@ @