97d5bfb17c
Update xen dependency in options.mk from 4.1 to 4.2 since 4.1 is no longer in pkgsrc. Make the build not fail when PKGSRC_RUN_TEST=yes. Upstream changes since 1.40: If the VMM exits unexpectedly while running the ATF tests or some other shell command, log the exit status and the signal that caused it to exit (if any). Log the qemu version used to stdout. Fix reference to uninitialized variable when reporting a timeout waiting for VM halt confirmation. Increase default child timeout from 300 to 600 seconds to support VMMs where power-up takes a long time. Increase child.delayafterclose and child.delayafterterminate to support VMMs where power-down takes a long time. Run more network diagnostics after failed network installs. Add timestamps to structured log output.
30 lines
1.1 KiB
Makefile
30 lines
1.1 KiB
Makefile
# $NetBSD: options.mk,v 1.9 2017/05/28 12:48:53 gson Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.py-anita
|
|
PKG_SUPPORTED_OPTIONS= xen
|
|
PKG_OPTIONS_OPTIONAL_GROUPS= qemu
|
|
PKG_OPTIONS_GROUP.qemu= qemu
|
|
PKG_SUGGESTED_OPTIONS=
|
|
|
|
# To run (but not to build), anita needs some way to run a virtual
|
|
# machine. The standard approach is qemu-0, because it is known to
|
|
# work. Newer qemu is problematic. xen also works, but is less well
|
|
# tested. See anita(1) for details of the above.
|
|
|
|
# By default, py-anita does not depend on any of these, because a
|
|
# hypervisor one doesn't want to use is a large burden (qemu in
|
|
# particular is very large). While these options can be enabled, they
|
|
# also serve to document ways to fulfill the hypervisor requirement.
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mqemu)
|
|
# Some versions of qemu1/2 do not work reliably, see the anita(1)
|
|
# man page. Version 2.0.0nb4 or newer should work.
|
|
DEPENDS+= qemu>=1.0:../../emulators/qemu
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mxen)
|
|
DEPENDS+= xenkernel42>=4.2:../../sysutils/xenkernel42
|
|
DEPENDS+= xentools42>=4.2:../../sysutils/xentools42
|
|
.endif
|