← recipes

Commit c59d262

0
plików
+0
dodanych
-0
usuniętych
@@ -20,18 +20,14 @@ footprint: "drwxr-xr-x\troot/root\tusr/\ndrwxr-xr-x\troot/root\tusr/bin/\n-rwxr-
20 20 root/root\tusr/bin/containerd-shim-runc-v2\n-rwxr-xr-x\troot/root\tusr/bin/containerd-stress\n-rwxr-xr-x\troot/root\tusr/bin/ctr\n\
21 21 drwxr-xr-x\troot/root\tusr/share/\ndrwxr-xr-x\troot/root\tusr/share/licenses/\ndrwxr-xr-x\troot/root\tusr/share/licenses/containerd/\n\
22 22 -rw-r--r--\troot/root\tusr/share/licenses/containerd/LICENSE\n"
23 +
23 24 build: |
24 - export GO111MODULE=auto
25 - export PATH=/usr/lib/go/bin:$PATH
26 - mkdir -p src/github.com/${pkgname}
27 - cd src/github.com/${pkgname}
28 - ln -s ./${pkgname}-${pkgver} ${pkgname}
29 - cd ${pkgname}
30 - export GOPATH=.
31 - # use the long commit hash here
32 - make GIT_COMMIT=1407cab509ff0d96baa4f0eb6ff9980270e6e620
25 + export CGO_ENABLED=1
26 + make BUILDTAGS="no_btrfs" GIT_COMMIT=1407cab509ff0d96baa4f0eb6ff9980270e6e620
27 +
33 28 install -d -m 0755 ${PKGDIR}/usr/bin
34 29 install -m 0755 bin/* ${PKGDIR}/usr/bin/
30 + install -Dm644 LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE
35 31
36 32 install -Dm644 LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE
37 33 package: |