diff options
-rwxr-xr-x | mkosi.build | 11 | ||||
-rw-r--r-- | mkosi.default | 1 |
2 files changed, 9 insertions, 3 deletions
diff --git a/mkosi.build b/mkosi.build index 1956aa9..e7cf983 100755 --- a/mkosi.build +++ b/mkosi.build @@ -1,9 +1,16 @@ #!/bin/sh +export GOVER='1.13.6' +export GOPATH="${SRCDIR}" +export PATH="${PATH}:/usr/local/go/bin:${GOPATH}/bin" + + cd $SRCDIR mkdir src bin pkg -export GOPATH="${SRCDIR}" -export PATH="${PATH}:${GOPATH}/bin" +wget "https://dl.google.com/go/go${GOVER}.linux-amd64.tar.gz" +tar -C /usr/local -xzf "go${GOVER}.linux-amd64.tar.gz" +rm "go${GOVER}.linux-amd64.tar.gz" +go version go get -d github.com/espebra/filebin cd ${GOPATH}/src/github.com/espebra/filebin make get-deps diff --git a/mkosi.default b/mkosi.default index 3d9ef25..dbe196e 100644 --- a/mkosi.default +++ b/mkosi.default @@ -13,7 +13,6 @@ WithNetwork=yes BuildPackages= unattended-upgrades git - golang make Packages= iputils-ping |