diff options
-rw-r--r-- | recipes-containers/crun/crun_git.bb | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/recipes-containers/crun/crun_git.bb b/recipes-containers/crun/crun_git.bb index 2b74264a..4d03017c 100644 --- a/recipes-containers/crun/crun_git.bb +++ b/recipes-containers/crun/crun_git.bb | |||
@@ -20,16 +20,22 @@ SRC_URI = "git://github.com/containers/crun.git;branch=main;name=crun;protocol=h | |||
20 | PV = "v1.15+git${SRCREV_crun}" | 20 | PV = "v1.15+git${SRCREV_crun}" |
21 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
22 | 22 | ||
23 | REQUIRED_DISTRO_FEATURES ?= "systemd seccomp" | 23 | inherit autotools-brokensep pkgconfig |
24 | 24 | ||
25 | inherit autotools-brokensep pkgconfig features_check | 25 | PACKAGECONFIG ??= " \ |
26 | 26 | caps external-yajl man \ | |
27 | PACKAGECONFIG ??= "" | 27 | ${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)} \ |
28 | 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | |
29 | DEPENDS = "yajl libcap go-md2man-native m4-native" | 29 | " |
30 | # TODO: is there a packageconfig to turn this off ? | 30 | |
31 | DEPENDS += "libseccomp" | 31 | PACKAGECONFIG[caps] = "--enable-caps,--disable-caps,libcap" |
32 | DEPENDS += "systemd" | 32 | PACKAGECONFIG[external-yajl] = "--disable-embedded-yajl,--enable-embedded-yajl,yajl" |
33 | # whether to regenerate manpages that are already present in the repo | ||
34 | PACKAGECONFIG[man] = ",,go-md2man-native" | ||
35 | PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp" | ||
36 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" | ||
37 | |||
38 | DEPENDS = "m4-native" | ||
33 | DEPENDS:append:libc-musl = " argp-standalone" | 39 | DEPENDS:append:libc-musl = " argp-standalone" |
34 | 40 | ||
35 | do_configure:prepend () { | 41 | do_configure:prepend () { |