Browse Source

podman: improve packaging

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

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 4 years ago
parent
commit
ed426fb951
No known key found for this signature in database GPG Key ID: 97EF37B2ABE172CB
2 changed files with 6 additions and 1 deletions
  1. +5
    -1
      utils/podman/Makefile
  2. +1
    -0
      utils/podman/files/containers.conf

+ 5
- 1
utils/podman/Makefile 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))


+ 1
- 0
utils/podman/files/containers.conf 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"]


Loading…
Cancel
Save