[meta-virtualization] [PATCH 5/5] runc: Merge common metadata into inc file

Paul Barker pbarker at toganlabs.com
Fri Oct 13 12:27:16 PDT 2017


Signed-off-by: Paul Barker <pbarker at toganlabs.com>
---
 recipes-containers/runc/runc-docker_git.bb         | 4 ----
 recipes-containers/runc/runc-opencontainers_git.bb | 4 ----
 recipes-containers/runc/runc.inc                   | 4 ++++
 3 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/recipes-containers/runc/runc-docker_git.bb b/recipes-containers/runc/runc-docker_git.bb
index b8754bd..9db48ee 100644
--- a/recipes-containers/runc/runc-docker_git.bb
+++ b/recipes-containers/runc/runc-docker_git.bb
@@ -12,8 +12,4 @@ SRC_URI = "git://github.com/docker/runc.git;nobranch=1;name=runc-docker \
            file://0001-Disable-building-recvtty.patch \
           "
 
-GO_IMPORT = "import"
-
 RUNC_VERSION = "1.0.0-rc3"
-PROVIDES += "virtual/runc"
-RPROVIDES_${PN} = "virtual/runc"
diff --git a/recipes-containers/runc/runc-opencontainers_git.bb b/recipes-containers/runc/runc-opencontainers_git.bb
index 78488e0..a97676b 100644
--- a/recipes-containers/runc/runc-opencontainers_git.bb
+++ b/recipes-containers/runc/runc-opencontainers_git.bb
@@ -6,7 +6,3 @@ SRC_URI = " \
     file://0001-Use-correct-go-cross-compiler.patch \
     "
 RUNC_VERSION = "1.0.0-rc4"
-PROVIDES += "virtual/runc"
-RPROVIDES_${PN} = "virtual/runc"
-
-GO_IMPORT = "import"
diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc
index c1ff08f..d2aec84 100644
--- a/recipes-containers/runc/runc.inc
+++ b/recipes-containers/runc/runc.inc
@@ -12,6 +12,10 @@ PV = "${RUNC_VERSION}+git${SRCREV}"
 
 inherit go
 RRECOMMENDS_${PN} = "lxc docker"
+PROVIDES += "virtual/runc"
+RPROVIDES_${PN} = "virtual/runc"
+
+GO_IMPORT = "import"
 
 LIBCONTAINER_PACKAGE="github.com/opencontainers/runc/libcontainer"
 
-- 
2.7.4



More information about the meta-virtualization mailing list