podman: improve packaging

* keep /etc/containers accross sysupgrade
* make 'runc' the default run-time for now

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2020-11-20 00:30:38 +00:00
parent 3a06ce5595
commit ed426fb951
No known key found for this signature in database
GPG Key ID: 97EF37B2ABE172CB
2 changed files with 6 additions and 1 deletions

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=podman
PKG_VERSION:=2.1.1
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
@ -50,6 +50,10 @@ define Package/podman/description
Podman: A tool for managing OCI containers and pods
endef
define Package/podman/conffiles
/etc/containers
endef
define Build/Prepare
$(call Build/Prepare/Default)
$(eval $(call Download,default-registries))

View File

@ -7,6 +7,7 @@ network_config_dir="/etc/cni/net.d/"
default_network="podman"
[engine]
runtime="/usr/sbin/runc"
# runtime="/sbin/uxc"
# runtime_supports_nocgroups = ["crun", "uxc"]
# runtime_supports_json = ["crun", "runc", "kata", "uxc"]