diff options
| -rw-r--r-- | recipes-containers/containerd/containerd_git.bb | 4 | ||||
| -rw-r--r-- | recipes-containers/docker/docker_git.bb | 8 | ||||
| -rw-r--r-- | recipes-containers/runc/runc_git.bb | 9 |
3 files changed, 11 insertions, 10 deletions
diff --git a/recipes-containers/containerd/containerd_git.bb b/recipes-containers/containerd/containerd_git.bb index 1a2c4454..24a51bc4 100644 --- a/recipes-containers/containerd/containerd_git.bb +++ b/recipes-containers/containerd/containerd_git.bb | |||
| @@ -4,7 +4,7 @@ DESCRIPTION = "containerd is a daemon to control runC, built for performance and | |||
| 4 | containerd leverages runC's advanced features such as seccomp and user namespace \ | 4 | containerd leverages runC's advanced features such as seccomp and user namespace \ |
| 5 | support as well as checkpoint and restore for cloning and live migration of containers." | 5 | support as well as checkpoint and restore for cloning and live migration of containers." |
| 6 | 6 | ||
| 7 | SRCREV = "ca47f7e76a93e9b3768ed084d62318e85bd9f4b2" | 7 | SRCREV = "0ac3cd1be170d180b2baed755e8f0da547ceb267" |
| 8 | SRC_URI = "\ | 8 | SRC_URI = "\ |
| 9 | git://github.com/docker/containerd.git;nobranch=1 \ | 9 | git://github.com/docker/containerd.git;nobranch=1 \ |
| 10 | " | 10 | " |
| @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.code;md5=aadc30f9c14d876ded7bedc0afd2d3d7" | |||
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
| 17 | 17 | ||
| 18 | CONTAINERD_VERSION = "0.2.0" | 18 | CONTAINERD_VERSION = "0.2.2" |
| 19 | PV = "${CONTAINERD_VERSION}+git${SRCREV}" | 19 | PV = "${CONTAINERD_VERSION}+git${SRCREV}" |
| 20 | 20 | ||
| 21 | DEPENDS = "go-cross \ | 21 | DEPENDS = "go-cross \ |
diff --git a/recipes-containers/docker/docker_git.bb b/recipes-containers/docker/docker_git.bb index 97700f02..f3c940d1 100644 --- a/recipes-containers/docker/docker_git.bb +++ b/recipes-containers/docker/docker_git.bb | |||
| @@ -18,7 +18,7 @@ DESCRIPTION = "Linux container runtime \ | |||
| 18 | subtle and/or glaring issues. \ | 18 | subtle and/or glaring issues. \ |
| 19 | " | 19 | " |
| 20 | 20 | ||
| 21 | SRCREV = "5604cbed50d51c4039b1abcb1cf87c4e01bce924" | 21 | SRCREV = "34d9a8240914d30f3a8fe28c1b7d1d4e36d0657b" |
| 22 | SRC_URI = "\ | 22 | SRC_URI = "\ |
| 23 | git://github.com/docker/docker.git;nobranch=1 \ | 23 | git://github.com/docker/docker.git;nobranch=1 \ |
| 24 | file://docker.service \ | 24 | file://docker.service \ |
| @@ -32,7 +32,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cc2221abf0b96ea39dd68141b70f7937" | |||
| 32 | 32 | ||
| 33 | S = "${WORKDIR}/git" | 33 | S = "${WORKDIR}/git" |
| 34 | 34 | ||
| 35 | DOCKER_VERSION = "1.11.1" | 35 | DOCKER_VERSION = "1.12.0" |
| 36 | PV = "${DOCKER_VERSION}+git${SRCREV}" | 36 | PV = "${DOCKER_VERSION}+git${SRCREV}" |
| 37 | 37 | ||
| 38 | DEPENDS = "go-cross \ | 38 | DEPENDS = "go-cross \ |
| @@ -108,7 +108,9 @@ INITSCRIPT_PARAMS_${PN} = "${OS_DEFAULT_INITSCRIPT_PARAMS}" | |||
| 108 | 108 | ||
| 109 | do_install() { | 109 | do_install() { |
| 110 | mkdir -p ${D}/${bindir} | 110 | mkdir -p ${D}/${bindir} |
| 111 | cp ${S}/bundles/${DOCKER_VERSION}/dynbinary/docker-${DOCKER_VERSION} ${D}/${bindir}/docker | 111 | cp ${S}/bundles/latest/dynbinary-client/docker ${D}/${bindir}/docker |
| 112 | cp ${S}/bundles/latest/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd | ||
| 113 | cp ${S}/bundles/latest/dynbinary-daemon/docker-proxy ${D}/${bindir}/docker-proxy | ||
| 112 | 114 | ||
| 113 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 115 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 114 | install -d ${D}${systemd_unitdir}/system | 116 | install -d ${D}${systemd_unitdir}/system |
diff --git a/recipes-containers/runc/runc_git.bb b/recipes-containers/runc/runc_git.bb index 955ea93c..905a751b 100644 --- a/recipes-containers/runc/runc_git.bb +++ b/recipes-containers/runc/runc_git.bb | |||
| @@ -4,10 +4,9 @@ DESCRIPTION = "runc is a CLI tool for spawning and running containers according | |||
| 4 | 4 | ||
| 5 | # Note: this rev is before the required protocol field, update when all components | 5 | # Note: this rev is before the required protocol field, update when all components |
| 6 | # have been updated to match. | 6 | # have been updated to match. |
| 7 | SRCREV = "baf6536d6259209c3edfa2b22237af82942d3dfa" | 7 | SRCREV = "1cdaa709f151b61cee2bdaa09d8e5d2b58a8ba72" |
| 8 | SRC_URI = "\ | 8 | SRC_URI = "\ |
| 9 | git://github.com/opencontainers/runc;branch=master \ | 9 | git://github.com/opencontainers/runc;branch=master \ |
| 10 | file://0001-nsexec-fix-build-against-musl-libc.patch \ | ||
| 11 | " | 10 | " |
| 12 | 11 | ||
| 13 | # Apache-2.0 for containerd | 12 | # Apache-2.0 for containerd |
| @@ -16,7 +15,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=435b266b3899aa8a959f17d41c56def8" | |||
| 16 | 15 | ||
| 17 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
| 18 | 17 | ||
| 19 | RUNC_VERSION = "0.1.1" | 18 | RUNC_VERSION = "1.0.0-rc1" |
| 20 | PV = "${RUNC_VERSION}+git${SRCREV}" | 19 | PV = "${RUNC_VERSION}+git${SRCREV}" |
| 21 | 20 | ||
| 22 | DEPENDS = "go-cross \ | 21 | DEPENDS = "go-cross \ |
| @@ -49,10 +48,10 @@ do_compile() { | |||
| 49 | # Pass the needed cflags/ldflags so that cgo | 48 | # Pass the needed cflags/ldflags so that cgo |
| 50 | # can find the needed headers files and libraries | 49 | # can find the needed headers files and libraries |
| 51 | export CGO_ENABLED="1" | 50 | export CGO_ENABLED="1" |
| 51 | export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" | ||
| 52 | export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" | ||
| 52 | export CFLAGS="" | 53 | export CFLAGS="" |
| 53 | export LDFLAGS="" | 54 | export LDFLAGS="" |
| 54 | export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" | ||
| 55 | export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" | ||
| 56 | 55 | ||
| 57 | oe_runmake static | 56 | oe_runmake static |
| 58 | } | 57 | } |
