diff --git a/manifest.json b/manifest.json index d11ff6a..e4a8a84 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "description": { "en": "Offers a user experience similar to virtual machines but using Linux containers instead." }, - "version": "4.14~ynh2", + "version": "4.14~ynh3", "url": "https://example.com", "license": "Apache-2.0", "maintainer": { diff --git a/scripts/install b/scripts/install index b96e1c1..db903e0 100755 --- a/scripts/install +++ b/scripts/install @@ -72,6 +72,8 @@ export LD_LIBRARY_PATH="${GOPATH}/deps/raft/.libs/:${GOPATH}/deps/dqlite/.libs/" export CGO_LDFLAGS_ALLOW="-Wl,-wrap,pthread_create" cd $GOPATH/src/github.com/lxc/lxd +export GOCACHE=$go_tmp + ynh_exec_warn_less make mkdir -p /usr/local/lib/$app diff --git a/scripts/upgrade b/scripts/upgrade index a738055..b21f620 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -87,6 +87,8 @@ export LD_LIBRARY_PATH="${GOPATH}/deps/raft/.libs/:${GOPATH}/deps/dqlite/.libs/" export CGO_LDFLAGS_ALLOW="-Wl,-wrap,pthread_create" cd $GOPATH/src/github.com/lxc/lxd +export GOCACHE=$go_tmp + ynh_exec_warn_less make mkdir -p /usr/local/lib/$app