From 96b2d0a4b7bbb07184f5b29d2dddf8951bf86a3a Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Wed, 28 Feb 2018 09:58:05 +0100 Subject: [PATCH] The Makefile works without GOPATH set and without install.tools fine. The GOPATH layout is created in the Makefile: mkdir -p "/home/test/cri-o/_output/src/github.com/kubernetes-incubator" ln -s "/home/test/cri-o" "/home/test/cri-o/_output/src/github.com/kubernetes-incubator" Signed-off-by: Jan Pazdziora --- README.md | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/README.md b/README.md index 69feaa34..3b714615 100644 --- a/README.md +++ b/README.md @@ -158,28 +158,9 @@ apt-get install -y \ ### Get Source Code -As with other Go projects, CRI-O must be cloned into a directory structure like: - -``` -GOPATH -└── src - └── github.com - └── kubernetes-incubator - └── cri-o -``` - -First, configure a `GOPATH` (if you are using go1.8 or later, this defaults to `~/go`). +Clone the source code using: ```bash -export GOPATH=~/go -mkdir -p $GOPATH -``` - -Next, clone the source code using: - -```bash -mkdir -p $GOPATH/src/github.com/kubernetes-incubator -cd $_ # or cd $GOPATH/src/github.com/kubernetes-incubator git clone https://github.com/kubernetes-incubator/cri-o # or your fork cd cri-o ``` @@ -187,7 +168,6 @@ cd cri-o ### Build ```bash -make install.tools make sudo make install ```