Browse Source

Merge pull request #15480 from oskarirauta/podman-311

podman: update to 3.1.1
lilik-openwrt-22.03
Rosen Penev 3 years ago
committed by GitHub
parent
commit
6cf634c52a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions
  1. +5
    -5
      utils/podman/Makefile
  2. +6
    -0
      utils/podman/files/podman.init

+ 5
- 5
utils/podman/Makefile View File

@ -1,9 +1,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=podman
PKG_VERSION:=3.0.1
PKG_VERSION:=3.1.1
PKG_RELEASE:=$(AUTORELEASE)
PKG_HASH:=259e682d6e90595573fe8880e0252cc8b08c813e19408b911c43383a6edd6852
PKG_HASH:=4e6fb106c6363566b6edc4ac6caee0bdf6b788e01255c3b3bfcb64f4b6842229
PKG_SOURCE_URL:=https://github.com/containers/podman/archive/v$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@ -17,7 +17,7 @@ PKG_BUILD_PARALLEL:=1
PKG_USE_MIPS16:=0
GO_PKG:=github.com/containers/podman/
GO_PKG_BUILD_PKG:=github.com/containers/podman/v2/cmd/podman/
GO_PKG_BUILD_PKG:=github.com/containers/podman/v3/cmd/podman/
include $(INCLUDE_DIR)/package.mk
include ../../lang/golang/golang-package.mk
@ -79,9 +79,9 @@ endef
Package/podman-selinux/conffiles = $(Package/podman/conffiles)
ifeq ($(BUILD_VARIANT),selinux)
GO_PKG_TAGS=seccomp,exclude_graphdriver_devicemapper,selinux
GO_PKG_TAGS=seccomp,exclude_graphdriver_devicemapper,selinux,apparmor
else
GO_PKG_TAGS=seccomp,exclude_graphdriver_devicemapper
GO_PKG_TAGS=seccomp,exclude_graphdriver_devicemapper,apparmor
endif
define Build/Prepare


+ 6
- 0
utils/podman/files/podman.init View File

@ -1,6 +1,7 @@
#!/bin/sh /etc/rc.common
START=99
STOP=10
USE_PROCD=1
NAME=podman
PROG=/usr/bin/podman
@ -12,3 +13,8 @@ start_service() {
procd_append_param command $command
procd_close_instance
}
shutdown() {
${PROG} pod stop -a
${PROG} container stop -a
}

Loading…
Cancel
Save