mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
runc: allow enabling seccomp
This requires libseccomp from meta-security so it is not enabled by default. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
5b13da8e57
commit
d273f1f491
|
@ -12,6 +12,10 @@ PV = "${RUNC_VERSION}+git${SRCPV}"
|
|||
|
||||
inherit go
|
||||
inherit goarch
|
||||
inherit pkgconfig
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[seccomp] = "seccomp,,libseccomp"
|
||||
|
||||
RRECOMMENDS_${PN} = "lxc docker"
|
||||
PROVIDES += "virtual/runc"
|
||||
|
@ -22,7 +26,7 @@ GO_IMPORT = "import"
|
|||
LIBCONTAINER_PACKAGE="github.com/opencontainers/runc/libcontainer"
|
||||
|
||||
do_configure[noexec] = "1"
|
||||
EXTRA_OEMAKE="BUILDTAGS='' GO=${GO}"
|
||||
EXTRA_OEMAKE="BUILDTAGS='${PACKAGECONFIG_CONFARGS}' GO=${GO}"
|
||||
|
||||
do_compile() {
|
||||
# Set GOPATH. See 'PACKAGERS.md'. Don't rely on
|
||||
|
|
Loading…
Reference in New Issue
Block a user