Skip to content

Commit

Permalink
xhyverun-*.sh: Update execution to search build dirs and $PATH for xhyve
Browse files Browse the repository at this point in the history
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 1dd9a51
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion xhyverun-freebsd.sh
Expand Up @@ -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 \
Expand Down
4 changes: 3 additions & 1 deletion xhyverun-tinycorelinux.sh
@@ -1,6 +1,8 @@
#!/bin/sh

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

xhyve \
-A \
-m 1G \
-s 0:0,hostbridge \
Expand Down
4 changes: 3 additions & 1 deletion xhyverun-windows.sh
Expand Up @@ -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 \
Expand Down

0 comments on commit 1dd9a51

Please sign in to comment.