podman: update to 3.4.1
authorOskari Rauta <oskari.rauta@gmail.com>
Thu, 4 Nov 2021 22:37:54 +0000 (00:37 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 15 Nov 2021 20:05:13 +0000 (20:05 +0000)
A lot of changes since 3.3.1.

Full (long) lists of release notes between
versions are available at
https://github.com/containers/podman/releases

containers.conf updated

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit 3e5761d6cd3142d7d8649dbd4f14f78d43161f24)

utils/podman/Makefile
utils/podman/files/containers.conf

index 77f4d087531e8a820d27cba0ecf0dfdb5c7c4c14..e8323d4022e0b332a00a0ef4c7ba17e3fae0debf 100644 (file)
@@ -1,12 +1,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=podman
-PKG_VERSION:=3.3.1
+PKG_VERSION:=3.4.1
 PKG_RELEASE:=$(AUTORELEASE)
-PKG_HASH:=6e3c57f5fd4199bc7603effb8c34268ee7f65fcd30c7b0d4778396b69388ae1f
 
-PKG_SOURCE_URL:=https://github.com/containers/podman/archive/v$(PKG_VERSION)
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://github.com/containers/podman/archive/v$(PKG_VERSION)
+PKG_HASH:=3fa70c499a4733524354518e839eefa3f14b630a519393418d082880535c1e33
 
 PKG_LICENSE:=Apache-2.0
 PKG_LICENSE_FILES:=LICENSE
index 3cb5e87a23b39be2fcbc6cf46b8e77fa42203788..3dbaab15fa707b0a5ca54b712b4961d63830aad5 100644 (file)
@@ -1,17 +1,60 @@
+#https://github.com/containers/common/blob/main/pkg/config/containers.conf
+
 [containers]
-netns="private"
+#annotations = []
+#apparmor_profile = "container-default"
+cgroupns = "private"
+cgroups = "enabled"
+netns = "private"
+#pidns = "private"
+#rootless_networking = "slirp4netns"
+#seccomp_profile = "/usr/share/containers/seccomp.json"
+#shm_size = "65536k"
+
+default_capabilities = [
+  "CHOWN",
+  "DAC_OVERRIDE",
+  "FOWNER",
+  "FSETID",
+  "KILL",
+  "NET_BIND_SERVICE",
+  "SETFCAP",
+  "SETGID",
+  "SETPCAP",
+  "SETUID",
+  "SYS_CHROOT"
+]
+
+default_sysctls = [
+  "net.ipv4.ping_group_range=0 0",
+]
 
 [network]
-cni_plugin_dir="/usr/lib/cni"
-network_config_dir="/etc/cni/net.d/"
-default_network="podman"
+cni_plugin_dirs = [
+  "/usr/lib/cni"
+]
+network_config_dir = "/etc/cni/net.d/"
+default_network = "podman"
 
 [engine]
-runtime="/usr/bin/crun"
-# runtime="/usr/sbin/runc"
-# runtime="/sbin/uxc"
-# runtime_supports_nocgroups = ["crun", "uxc"]
-# runtime_supports_json = ["crun", "runc", "kata", "uxc"]
+cgroup_manager = "cgroupfs"
+events_logger = "none"
+#image_default_transport = "docker://"
+#image_parallel_copies = 0
+#infra_command = "/pause"
+#infra_image = "k8s.gcr.io/pause:3.4.1"
+#lock_type** = "shm"
+#namespace = ""
+#network_cmd_path = ""
+
+runtime = "crun"
+# runtime = "runc"
+# runtime = "uxc"
+
+runtime_supports_json = ["crun", "runc", "kata", "uxc"]
+#runtime_supports_kvm = ["kata", "krun"]
+#runtime_supports_nocgroups = ["crun", "krun", "uxc"]
+#static_dir = "/var/lib/containers/storage/libpod"
 
 [engine.runtimes]
 crun = [
@@ -25,3 +68,9 @@ runc = [
 uxc = [
        "/sbin/uxc",
 ]
+
+[machine]
+#cpus = 1
+#disk_size = 10
+#image = "testing"
+#memory = 2048