mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
docker: 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
d273f1f491
commit
f26bdea05c
|
@ -62,6 +62,9 @@ DEPENDS = " \
|
|||
libtool \
|
||||
"
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[seccomp] = "seccomp,,libseccomp"
|
||||
|
||||
PACKAGES =+ "${PN}-contrib"
|
||||
|
||||
DEPENDS_append_class-target = " lvm2"
|
||||
|
@ -105,7 +108,7 @@ do_compile() {
|
|||
export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}"
|
||||
export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"
|
||||
# in order to exclude devicemapper and btrfs - https://github.com/docker/docker/issues/14056
|
||||
export DOCKER_BUILDTAGS='exclude_graphdriver_btrfs exclude_graphdriver_devicemapper'
|
||||
export DOCKER_BUILDTAGS='exclude_graphdriver_btrfs exclude_graphdriver_devicemapper ${PACKAGECONFIG_CONFARGS}'
|
||||
|
||||
export DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user