diff options
-rw-r--r-- | recipes-containers/crun/crun_git.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-containers/crun/crun_git.bb b/recipes-containers/crun/crun_git.bb new file mode 100644 index 00000000..7781e110 --- /dev/null +++ b/recipes-containers/crun/crun_git.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | DESCRIPTION = "A fast and low-memory footprint OCI Container Runtime fully written in C." | ||
2 | LICENSE = "GPLv3" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
4 | PRIORITY = "optional" | ||
5 | |||
6 | SRCREV_crun = "a43f72196f7aaf713dc997eaddd0f08612f60ac0" | ||
7 | SRCREV_libocispec = "01c8f977ff5ed1e8010f40c2572343be1a70a51b" | ||
8 | SRCREV_ispec = "775207bd45b6cb8153ce218cc59351799217451f" | ||
9 | SRCREV_rspec = "19e92ca817772b4466f2ed2b8d808dfb7a8ab4be" | ||
10 | |||
11 | SRCREV_FORMAT = "crun_rspec" | ||
12 | SRC_URI = "git://github.com/containers/crun.git;branch=master;name=crun \ | ||
13 | git://github.com/containers/libocispec.git;branch=master;name=libocispec;destsuffix=git/libocispec \ | ||
14 | git://github.com/opencontainers/runtime-spec.git;branch=master;name=rspec;destsuffix=git/libocispec/runtime-spec \ | ||
15 | git://github.com/opencontainers/image-spec.git;branch=master;name=ispec;destsuffix=git/libocispec/image-spec \ | ||
16 | " | ||
17 | |||
18 | PV = "0.10.2+git${SRCREV_crun}" | ||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | inherit autotools-brokensep pkgconfig | ||
22 | |||
23 | PACKAGECONFIG ??= "" | ||
24 | |||
25 | DEPENDS = "yajl libcap go-md2man-native" | ||
26 | # TODO: is there a packageconfig to turn this off ? | ||
27 | DEPENDS += "libseccomp" | ||
28 | DEPENDS += "oci-image-spec oci-runtime-spec" | ||
29 | |||
30 | do_install() { | ||
31 | oe_runmake 'DESTDIR=${D}' install | ||
32 | } | ||