-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11679 from afbjorklund/crun
ISO: Add packaging for crun
- Loading branch information
Showing
9 changed files
with
60 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
config BR2_PACKAGE_CRUN | ||
bool "crun" | ||
select BR2_PACKAGE_YAJL | ||
help | ||
A fast and low-memory footprint OCI Container Runtime | ||
fully written in C. | ||
|
||
https://github.com/containers/crun |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Locally computed | ||
sha256 8065b73ae37ccfb960915fa10051e2bf27850d1c2c69ffeb9eec17c6f198d1c9 crun-0.19.tar.gz | ||
sha256 7b190ff934355e69636e24c12864326a6ebccdbb12af1f14bead217118eb19cb crun-0.19.1.tar.gz | ||
sha256 93423c730ac8deb8dacf805fb15dc5c3ac12e47f8a3eb36dd42166ccfd023d00 crun-0.20.tar.gz | ||
sha256 84a31b25169d92b59a2611fe256a2cc48b05edd9aee8eab4e3dabb60d88f5a23 crun-0.20.1.tar.gz | ||
sha256 e1745172bf603c6832e1a77ee2b7ac9ad4644cd0f4349704df84b66385bbbe61 crun-1.0.tar.gz | ||
sha256 5f2d98a13bdd7ab3c83620abc7dc29cfaf7b8f7487b5b3722453bc9619d3ea0b crun-1.1.tar.gz | ||
sha256 1032a69878c18ddeeb97cd26251c2819afb76e0d4a50c047139829b00d147978 crun-1.2.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
################################################################################ | ||
# | ||
# crun | ||
# | ||
################################################################################ | ||
|
||
CRUN_VERSION = 1.2 | ||
CRUN_COMMIT = 4f6c8e0583c679bfee6a899c05ac6b916022561b | ||
# need the pre-generated release tarball with the git submodules and configure | ||
CRUN_SITE = https://github.com/containers/crun/releases/download/$(CRUN_VERSION) | ||
CRUN_LICENSE = GPL-2.0 | ||
CRUN_LICENSE_FILES = COPYING | ||
|
||
CRUN_DEPENDENCIES += host-python3 | ||
|
||
CRUN_MAKE_OPTS = crun | ||
|
||
ifeq ($(BR2_PACKAGE_LIBCAP),y) | ||
CRUN_DEPENDENCIES += libcap | ||
else | ||
CRUN_CONF_OPTS += --disable-caps | ||
endif | ||
|
||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) | ||
CRUN_CONF_OPTS += --enable-seccomp | ||
CRUN_DEPENDENCIES += libseccomp host-pkgconf | ||
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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters