[meta-virtualization] [PATCH] runc.inc: Move RRECOMMENDS to runc-docker

Paul Barker paul at betafive.co.uk
Fri Jan 11 09:29:37 PST 2019


If we're building runc-opencontainers it's likely that we're not using
docker.

Signed-off-by: Paul Barker <paul at betafive.co.uk>
---
 recipes-containers/runc/runc-docker_git.bb | 2 ++
 recipes-containers/runc/runc.inc           | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-containers/runc/runc-docker_git.bb b/recipes-containers/runc/runc-docker_git.bb
index 02bda31..11fa68a 100644
--- a/recipes-containers/runc/runc-docker_git.bb
+++ b/recipes-containers/runc/runc-docker_git.bb
@@ -1,5 +1,7 @@
 include runc.inc
 
+RRECOMMENDS_${PN} = "lxc docker"
+
 # Note: this rev is before the required protocol field, update when all components
 #       have been updated to match.
 SRCREV_runc-docker = "6a2c15596845f6ff5182e2022f38a65e5dfa88eb"
diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc
index 6d11a6e..5a2ca31 100644
--- a/recipes-containers/runc/runc.inc
+++ b/recipes-containers/runc/runc.inc
@@ -17,7 +17,6 @@ inherit pkgconfig
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[seccomp] = "seccomp,,libseccomp"
 
-RRECOMMENDS_${PN} = "lxc docker"
 PROVIDES += "virtual/runc"
 RPROVIDES_${PN} = "virtual/runc"
 
-- 
2.17.1



More information about the meta-virtualization mailing list