diff --git a/build b/build index e6bbce9..160cc06 100755 --- a/build +++ b/build @@ -16,5 +16,5 @@ eval $(go env) echo "Building rkt (stage0)..." go build -o $GOBIN/rkt ${REPO_PATH}/stage0 -echo "Building stage1..." -go build -o $GOBIN/stage1 ${REPO_PATH}/stage1 +echo "Building init (stage1)..." +go build -o $GOBIN/init ${REPO_PATH}/stage1 diff --git a/stage0/rkt.go b/stage0/rkt.go index ba5a0c9..63449c0 100644 --- a/stage0/rkt.go +++ b/stage0/rkt.go @@ -53,7 +53,7 @@ var ( func init() { fs.StringVar(&flagDir, "dir", "", "directory in which to create container filesystem") - fs.StringVar(&flagStage1, "stage1", "./bin/stage1", "path to stage1 binary") + fs.StringVar(&flagStage1, "stage1-init", "./bin/init", "path to stage1 binary") fs.Var(&flagVolumes, "volume", "volumes to mount into the shared container environment") flagVolumes = volumeMap{} }