Signed-off-by: John Floren <john@jfloren.net>
@@ -88,3 +88,4 @@ util/harvey.raw
/plan9_amd64/
/usr/harvey/lib/cache/
compile_commands.json
+apex
@@ -0,0 +1,22 @@
+#!/bin/sh
+set -e
+
+# We assume you're running this from the Harvey dir
+HARVEY=`pwd`
+if [ -z "$OS" ] || [ -z "$ARCH" ]
+then
+ echo We need \$OS and \$ARCH set.
+ exit
+fi
+if [ ! -e apex ]
+ git clone https://github.com/Harvey-OS/apex.git
+cd apex
+APEX=`pwd`
+cd src
+APEX=$APEX HARVEY=$HARVEY OS=$OS ARCH=$ARCH make
+cd ../..
@@ -1,5 +1,6 @@
bind -a $home/bin/rc /bin
bind -a $home/bin/$cputype /bin
+bind -a /apex/amd64/bin /bin
bind -c tmp /tmp
# in case we're running off a read-only medium, use ramfs for tmp