aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/containerd/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/containerd/APKBUILD b/community/containerd/APKBUILD
index 801b8fc4cd..d557d17e07 100644
--- a/community/containerd/APKBUILD
+++ b/community/containerd/APKBUILD
@@ -6,7 +6,7 @@ pkgname=containerd
# NOTE: containerd's Makefile tries to get REVISION from git, but we're building from a tarball.
_commit=be75852b8d7849474a20192f9ed1bf34fdd454f1
pkgver=1.3.6
-pkgrel=3
+pkgrel=4
pkgdesc="An open and reliable container runtime"
url="https://containerd.io"
arch="all !mips !mips64"
@@ -73,6 +73,8 @@ package() {
install -Dm644 "$builddir"/man/*.5 "$pkgdir"/usr/share/man/man5/
install -d "$pkgdir"/usr/share/man/man8/
install -Dm644 "$builddir"/man/*.8 "$pkgdir"/usr/share/man/man8/
+ install -d "$pkgdir"/etc/containerd/
+ "$pkgdir"/bin/containerd config default | sed "s|/opt/cni/bin|/usr/libexec/cni|g" > "$pkgdir"/etc/containerd/config.toml
}
openrc() {