mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00

The selinux disable patch required changes as more setfilecon operations were added. The new upstream work is needed to allow the rootfs specification to continue working because runc no longer passes the "root" key as a part of the json configuration which is sent to a hook via stdin. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
36 lines
994 B
BlitzBasic
36 lines
994 B
BlitzBasic
DESCRIPTION = "OCI systemd hook enables users to run systemd in docker and OCI"
|
|
SECTION = "console/utils"
|
|
LICENSE = "GPLv3"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
|
|
PRIORITY = "optional"
|
|
|
|
DEPENDS = "yajl util-linux"
|
|
|
|
SRCREV = "1ac958a4197a9ea52174812fc7d7d036af8140d3"
|
|
SRC_URI = "git://github.com/projectatomic/oci-systemd-hook \
|
|
file://0001-selinux-drop-selinux-support.patch \
|
|
file://0001-configure-drop-selinux-support.patch \
|
|
"
|
|
|
|
PV = "0.0.1+git${SRCPV}"
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[selinux] = ",,libselinux"
|
|
|
|
EXTRA_OECONF += "--libexecdir=${libexecdir}/oci/hooks.d"
|
|
|
|
# nothing to compile, we do it all in the install task
|
|
do_compile[noexec] = "1"
|
|
|
|
do_install() {
|
|
# Avoid building docs, and other artifacts by surgically calling the
|
|
# semi-internal target of "install-exec-am"
|
|
oe_runmake 'DESTDIR=${D}' install-exec-am
|
|
}
|
|
|
|
FILES_${PN} += "${libexecdir}/oci/hooks.d/"
|
|
|