bootstrap.sh 674 B

123456789101112131415161718192021222324252627
  1. #!/bin/sh
  2. echo Building the build tool...
  3. GOBIN="$(pwd)/util" GOPATH="$(pwd)/util/third_party:$(pwd)/util" go get github.com/Harvey-OS/ninep/cmd/ufs harvey/cmd/...
  4. echo Downloading the blaze tool...
  5. curl -L http://sevki.co/get-build -o util/nuke
  6. chmod +x util/nuke
  7. # this will make booting a VM easier
  8. mkdir -p tmp
  9. cat <<EOF
  10. # We support RISC-V, but the default is x86_64 (which we call amd64 for historical reasons):
  11. export ARCH=amd64
  12. # And build:
  13. ./util/build
  14. # See \`build -h' for more information on the build tool.
  15. To enable access to files, create a harvey and none user:
  16. sudo useradd harvey
  17. sudo useradd none
  18. none is only required for drawterm/cpu access
  19. EOF