mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
runc/config: add seccomp distro feature
When using podman (or other seccomp enabled container runtimes), you will get an OCI container startup error if runc hasn't been built with seccomp. Adding a distro feature to runc and to the README to make it easier to coordinate the support. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
da32b79488
commit
e2bba8633e
1
README
1
README
|
@ -34,6 +34,7 @@ that may also be enabled:
|
|||
- selinux: enables functionality in libvirt and lxc
|
||||
- systemd: enable systemd services and unit files (for recipes for support)
|
||||
- sysvinit: enable sysvinit scripts (for recipes with support)
|
||||
- seccomp: enable seccomp support for packages that have the capability.
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
|
|
@ -14,11 +14,15 @@ inherit go
|
|||
inherit goarch
|
||||
inherit pkgconfig
|
||||
|
||||
PACKAGECONFIG ??= "static"
|
||||
PACKAGECONFIG[seccomp] = "seccomp,,libseccomp"
|
||||
# This PACKAGECONFIG serves the purpose of whether building runc as static or not
|
||||
PACKAGECONFIG[static] = ""
|
||||
|
||||
PACKAGECONFIG ??= "static \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)} \
|
||||
"
|
||||
|
||||
|
||||
PROVIDES += "virtual/runc"
|
||||
RPROVIDES_${PN} = "virtual/runc"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user