summaryrefslogtreecommitdiffstats
path: root/recipes-containers/lxcfs/lxcfs_6.0.6.bb
blob: 7dca29f777a59553093ebba4028f73f268badcc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SUMMARY = "LXCFS is a userspace filesystem created to avoid kernel limitations"
LICENSE = "LGPL-2.1-or-later"

REQUIRED_DISTRO_FEATURES ?= "systemd"
inherit meson pkgconfig systemd features_check

SRC_URI = " \
    https://linuxcontainers.org/downloads/lxcfs/lxcfs-${PV}.tar.gz \
    file://0001-bindings-fix-build-with-newer-linux-libc-headers.patch \
    file://0001-meson.build-force-pid-open-send_signal-detection.patch \
"

LIC_FILES_CHKSUM = "file://COPYING;md5=29ae50a788f33f663405488bc61eecb1"
SRC_URI[sha256sum] = "386339ba4cde289b0f6df4fe7a614caa1e45dd91bc0200b4aff6c51bf9d5ef9e"

DEPENDS += "fuse python3-jinja2-native help2man-native systemd"
RDEPENDS:${PN} += "fuse"

FILES:${PN} += "${datadir}/lxc/config/common.conf.d/*"

# help2man doesn't work, so we disable docs
EXTRA_OEMESON += "-Dinit-script=${VIRTUAL-RUNTIME_init_manager} -Ddocs=false"

SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE:${PN} = "lxcfs.service"