package/crun: new package
crun is a fast and low-memory OCI Container Runtime in C. https://github.com/containers/crun Signed-off-by: Christian Stewart <christian@paral.in> Tested-by: TIAN Yuanhao <tianyuanhao3@163.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
8b15de20a0
commit
530d6f661e
@ -532,6 +532,7 @@ F: package/python-pylibftdi/
|
||||
N: Christian Stewart <christian@paral.in>
|
||||
F: package/batman-adv/
|
||||
F: package/containerd/
|
||||
F: package/crun/
|
||||
F: package/delve/
|
||||
F: package/docker-cli/
|
||||
F: package/docker-compose/
|
||||
|
@ -2571,6 +2571,7 @@ menu "System tools"
|
||||
source "package/coreutils/Config.in"
|
||||
source "package/cpulimit/Config.in"
|
||||
source "package/cpuload/Config.in"
|
||||
source "package/crun/Config.in"
|
||||
source "package/daemon/Config.in"
|
||||
source "package/dc3dd/Config.in"
|
||||
source "package/dcron/Config.in"
|
||||
|
7
package/crun/Config.in
Normal file
7
package/crun/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_CRUN
|
||||
bool "crun"
|
||||
select BR2_PACKAGE_YAJL # libocispec
|
||||
help
|
||||
crun is a fast and low-memory OCI Container Runtime in C.
|
||||
|
||||
https://github.com/containers/crun
|
4
package/crun/crun.hash
Normal file
4
package/crun/crun.hash
Normal file
@ -0,0 +1,4 @@
|
||||
# Locally computed
|
||||
sha256 acd24012daa951cf1674b20b2d5f87975d5d6c8e8c80bfe12e4cffa3495cae67 crun-1.5.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.libcrun
|
38
package/crun/crun.mk
Normal file
38
package/crun/crun.mk
Normal file
@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
#
|
||||
# crun
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CRUN_VERSION = 1.5
|
||||
CRUN_SITE = https://github.com/containers/crun/releases/download/$(CRUN_VERSION)
|
||||
CRUN_DEPENDENCIES = host-pkgconf yajl
|
||||
|
||||
CRUN_LICENSE = GPL-2.0+ (crun binary), LGPL-2.1+ (libcrun)
|
||||
CRUN_LICENSE_FILES = COPYING COPYING.libcrun
|
||||
|
||||
CRUN_AUTORECONF = YES
|
||||
CRUN_CONF_OPTS = --disable-embedded-yajl
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||
CRUN_DEPENDENCIES += libcap
|
||||
CRUN_CONF_OPTS += --enable-caps
|
||||
else
|
||||
CRUN_CONF_OPTS += --disable-caps
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
CRUN_DEPENDENCIES += libseccomp
|
||||
CRUN_CONF_OPTS += --enable-seccomp
|
||||
else
|
||||
CRUN_CONF_OPTS += --disable-seccomp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
CRUN_CONF_OPTS += --enable-systemd
|
||||
CRUN_DEPENDENCIES += systemd host-pkgconf
|
||||
else
|
||||
CRUN_CONF_OPTS += --disable-systemd
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
Loading…
Reference in New Issue
Block a user