forked from hugelgupf/u-root
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Update documentation for new build script"
This reverts commit 306b3d7.
- Loading branch information
Showing
2 changed files
with
35 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
set -e | ||
# This README is also a script you can run to test this idea out. | ||
# This is a root file system all based on Go. | ||
|
||
if [ -z $GOPATH ] | ||
then | ||
echo "Please set GOPATH and run this command again." | ||
exit 1 | ||
fi | ||
|
||
if [ -z $GOROOT ] | ||
then | ||
echo "You have not set GOROOT. This can work but if not, please" | ||
echo "set GOROOT to point to a Go tree with version >= 1.6" | ||
fi | ||
|
||
go run scripts/ramfs.go -test |