svn commit: r401782 - in head/sysutils/bhyve-rc: . files
Michael Gmelin
grembo at FreeBSD.org
Mon Nov 16 19:01:23 UTC 2015
Author: grembo
Date: Mon Nov 16 19:01:22 2015
New Revision: 401782
URL: https://svnweb.freebsd.org/changeset/ports/401782
Log:
Fix to start bhyve properly on 10.2.
PR: 204111
Approved by: mentors (implicit)
Modified:
head/sysutils/bhyve-rc/Makefile
head/sysutils/bhyve-rc/files/bhyve.in
Modified: head/sysutils/bhyve-rc/Makefile
==============================================================================
--- head/sysutils/bhyve-rc/Makefile Mon Nov 16 18:43:16 2015 (r401781)
+++ head/sysutils/bhyve-rc/Makefile Mon Nov 16 19:01:22 2015 (r401782)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bhyve-rc
-PORTVERSION= 2
+PORTVERSION= 3
CATEGORIES= sysutils
MASTER_SITES= # none
DISTFILES= # none
Modified: head/sysutils/bhyve-rc/files/bhyve.in
==============================================================================
--- head/sysutils/bhyve-rc/files/bhyve.in Mon Nov 16 18:43:16 2015 (r401781)
+++ head/sysutils/bhyve-rc/files/bhyve.in Mon Nov 16 19:01:22 2015 (r401782)
@@ -141,6 +141,6 @@ bhyve_stop()
rm -f ${pidfile}
}
-command_args="new-session -ds ${_session} \"sh -c 'echo \\\$PPID >${pidfile}; while true; do /usr/sbin/bhyvectl --vm=${_session} --destroy; /usr/sbin/bhyveload -m ${bhyve_memsize} -d ${bhyve_diskdev} ${_session} && /usr/sbin/bhyve -c ${bhyve_ncpu} -m ${bhyve_memsize} -AI -H -P -g 0 -s 0:0,hostbridge -s 1:0,virtio-net,${bhyve_tapdev} -s 2:0,virtio-blk,${bhyve_diskdev} -s 31,uart,stdio ${_session} || break; done'\""
+command_args="new-session -ds ${_session} \"sh -c 'echo \\\$PPID >${pidfile}; while true; do /usr/sbin/bhyvectl --vm=${_session} --destroy; /usr/sbin/bhyveload -m ${bhyve_memsize} -d ${bhyve_diskdev} ${_session} && /usr/sbin/bhyve -c ${bhyve_ncpu} -m ${bhyve_memsize} -AI -H -P -g 0 -s 0:0,hostbridge -s 1:0,virtio-net,${bhyve_tapdev} -s 2:0,virtio-blk,${bhyve_diskdev} -s 31,lpc -l com1,stdio ${_session} || break; done'\""
run_rc_command "$1"
More information about the svn-ports-all
mailing list