diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-04-11 23:07:47 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-04-11 23:07:52 -0400 |
commit | 752fde1f87884ce0bf31ac36afb47b36a7bca794 (patch) | |
tree | f51ce2657f172db5c50ff41135a6cc70c5eee4c0 | |
parent | 651bbe8bc4d52630b61527b0b6a5b3e6901233c9 (diff) | |
download | meta-virtualization-752fde1f87884ce0bf31ac36afb47b36a7bca794.tar.gz |
runc/containerd: use go.bbclass for dependencies
Rather than explicit go-cross DEPENDS, we can inherit go.bbclass and
pick up them automatically.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-containers/containerd/containerd.inc | 3 | ||||
-rw-r--r-- | recipes-containers/runc/runc.inc | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/recipes-containers/containerd/containerd.inc b/recipes-containers/containerd/containerd.inc index a128fbde..b1439795 100644 --- a/recipes-containers/containerd/containerd.inc +++ b/recipes-containers/containerd/containerd.inc | |||
@@ -12,8 +12,7 @@ S = "${WORKDIR}/git" | |||
12 | 12 | ||
13 | PV = "${CONTAINERD_VERSION}+git${SRCREV}" | 13 | PV = "${CONTAINERD_VERSION}+git${SRCREV}" |
14 | 14 | ||
15 | DEPENDS = "go-cross-${TARGET_ARCH} \ | 15 | inherit go |
16 | " | ||
17 | 16 | ||
18 | RRECOMMENDS_${PN} = "lxc docker" | 17 | RRECOMMENDS_${PN} = "lxc docker" |
19 | CONTAINERD_PKG="github.com/docker/containerd" | 18 | CONTAINERD_PKG="github.com/docker/containerd" |
diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc index 64cf3f85..41baf739 100644 --- a/recipes-containers/runc/runc.inc +++ b/recipes-containers/runc/runc.inc | |||
@@ -10,8 +10,7 @@ S = "${WORKDIR}/git" | |||
10 | 10 | ||
11 | PV = "${RUNC_VERSION}+git${SRCREV}" | 11 | PV = "${RUNC_VERSION}+git${SRCREV}" |
12 | 12 | ||
13 | DEPENDS = "go-cross-${TARGET_ARCH} \ | 13 | inherit go |
14 | " | ||
15 | RRECOMMENDS_${PN} = "lxc docker" | 14 | RRECOMMENDS_${PN} = "lxc docker" |
16 | 15 | ||
17 | LIBCONTAINER_PACKAGE="github.com/opencontainers/runc/libcontainer" | 16 | LIBCONTAINER_PACKAGE="github.com/opencontainers/runc/libcontainer" |