Permalink
Browse files

xhyverun-*.sh: Update execution to search build dirs and $PATH for xhyve

This should allow these scripts to be more easily used for Makefile-based
development builds, xcodebuild-based builds, or installed executables.

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
  • Loading branch information...
jeremyhu committed Jan 24, 2019
1 parent b6fb4fe commit 1dd9a5165848c7ed56dafc41932c553ea56a12af
Showing with 9 additions and 3 deletions.
  1. +3 −1 xhyverun-freebsd.sh
  2. +3 −1 xhyverun-tinycorelinux.sh
  3. +3 −1 xhyverun-windows.sh
@@ -3,7 +3,9 @@
BOOTVOLUME="<path of FreeBSD iso>"
IMG="<path of disk image for FreeBSD>"

build/xhyve \
PATH="build/Release:build:$PATH"

xhyve \
-A \
-m 2G \
-c 2 \
@@ -1,6 +1,8 @@
#!/bin/sh

build/xhyve \
PATH="build/Release:build:$PATH"

xhyve \
-A \
-m 1G \
-s 0:0,hostbridge \
@@ -4,7 +4,9 @@ BOOTVOLUME="<path of Windows iso>"
IMG="<path of disk image for Windows>"
FIRMWARE="<path of BHYVE_UEFI.fd>"

build/xhyve \
PATH="build/Release:build:$PATH"

xhyve \
-w \
-m 4G \
-c 2 \

0 comments on commit 1dd9a51

Please sign in to comment.