diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-01-07 22:03:43 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-01-17 19:17:09 +0000 |
| commit | f9ba743dad694445f7b7385e03aa0c62cbd71a9d (patch) | |
| tree | c65a32ef8937d97a5ce67a90b0ae9f2c284d7b24 | |
| parent | b57f8a25a35a93b95e3baa950c2d359fffc13051 (diff) | |
| download | meta-virtualization-f9ba743dad694445f7b7385e03aa0c62cbd71a9d.tar.gz | |
docker: check for seccomp and ipv6
Without these (and their associated packageconfig options) docker
may build, but it won't run correctly.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-containers/docker/docker.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc index 8aabd154..2abca502 100644 --- a/recipes-containers/docker/docker.inc +++ b/recipes-containers/docker/docker.inc | |||
| @@ -36,11 +36,15 @@ GO_IMPORT = "import" | |||
| 36 | S = "${WORKDIR}/git" | 36 | S = "${WORKDIR}/git" |
| 37 | 37 | ||
| 38 | 38 | ||
| 39 | |||
| 39 | inherit systemd update-rc.d | 40 | inherit systemd update-rc.d |
| 40 | inherit go | 41 | inherit go |
| 41 | inherit goarch | 42 | inherit goarch |
| 42 | inherit pkgconfig | 43 | inherit pkgconfig |
| 43 | 44 | ||
| 45 | REQUIRED_DISTRO_FEATURES ?= "seccomp ipv6" | ||
| 46 | inherit features_check | ||
| 47 | |||
| 44 | do_configure[noexec] = "1" | 48 | do_configure[noexec] = "1" |
| 45 | 49 | ||
| 46 | # Export for possible use in Makefiles, default value comes from go.bbclass | 50 | # Export for possible use in Makefiles, default value comes from go.bbclass |
