diff options
| author | Jason Wessel <jason.wessel@windriver.com> | 2017-07-13 10:09:06 -0700 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-07-13 13:53:58 -0400 |
| commit | a31f735bda504fd951b4b284a41fc4d6d154fa5e (patch) | |
| tree | 925f079afddd42cd503c87f6e60cbb25fc596c28 /recipes-containers | |
| parent | cc3d8b9268e8eca1128a7f5d6349d818211c2097 (diff) | |
| download | meta-virtualization-a31f735bda504fd951b4b284a41fc4d6d154fa5e.tar.gz | |
oci-runtime-tools, oci-runtime-spec: Uprev to runc 1.0-rc3 versions
The config.json has elements which have changed in the latest runc.
These changes are not backward compatible with older versions of runc.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers')
| -rw-r--r-- | recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb | 6 | ||||
| -rw-r--r-- | recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb | 12 |
2 files changed, 13 insertions, 5 deletions
diff --git a/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb b/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb index 82f852f9..deba7b3e 100644 --- a/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb +++ b/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb | |||
| @@ -9,8 +9,8 @@ SRCNAME = "runtime-spec" | |||
| 9 | PKG_NAME = "github.com/opencontainers/${SRCNAME}" | 9 | PKG_NAME = "github.com/opencontainers/${SRCNAME}" |
| 10 | SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME}" | 10 | SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME}" |
| 11 | 11 | ||
| 12 | SRCREV = "4af0c72f92aacf1b43618d7986197d8209fadf0b" | 12 | SRCREV = "a39b1cd4fdf7743ab721cc9da58abbee2f8624d1" |
| 13 | PV = "v1.0.0-rc4+git${SRCPV}" | 13 | PV = "v1.0.0-rc6+git${SRCPV}" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
| 16 | 16 | ||
| @@ -38,4 +38,4 @@ runtime_spec_file_sysroot_preprocess () { | |||
| 38 | 38 | ||
| 39 | FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" | 39 | FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" |
| 40 | 40 | ||
| 41 | CLEANBROKEN = "1" \ No newline at end of file | 41 | CLEANBROKEN = "1" |
diff --git a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb index 4f77dced..a3f8e665 100644 --- a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb +++ b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb | |||
| @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b355a61a394a504dacde901c958f662c" | |||
| 5 | 5 | ||
| 6 | SRC_URI = "git://github.com/opencontainers/runtime-tools.git" | 6 | SRC_URI = "git://github.com/opencontainers/runtime-tools.git" |
| 7 | 7 | ||
| 8 | SRCREV = "038b0c99b82f3c08de31f6b09e693eb24644affd" | 8 | SRCREV = "15ec1df3f6607f4223ab3915547c184cf60a30dd" |
| 9 | PV = "0.0.1+git${SRCPV}" | 9 | PV = "0.0.1+git${SRCPV}" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
| @@ -16,7 +16,7 @@ inherit go | |||
| 16 | do_compile() { | 16 | do_compile() { |
| 17 | export GOARCH="${TARGET_GOARCH}" | 17 | export GOARCH="${TARGET_GOARCH}" |
| 18 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" | 18 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" |
| 19 | export GOPATH="${S}" | 19 | export GOPATH="${S}:${S}/vendor" |
| 20 | 20 | ||
| 21 | # Pass the needed cflags/ldflags so that cgo | 21 | # Pass the needed cflags/ldflags so that cgo |
| 22 | # can find the needed headers files and libraries | 22 | # can find the needed headers files and libraries |
| @@ -26,6 +26,14 @@ do_compile() { | |||
| 26 | export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 26 | export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" |
| 27 | export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" | 27 | export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" |
| 28 | 28 | ||
| 29 | # link fixups for compilation | ||
| 30 | rm -f ${S}/vendor/src | ||
| 31 | ln -sf ./ ${S}/vendor/src | ||
| 32 | mkdir -p ${S}/vendor/github.com/opencontainers/runtime-tools | ||
| 33 | ln -sf ../../../../generate ${S}/vendor/github.com/opencontainers/runtime-tools/generate | ||
| 34 | ln -sf ../../../../validate ${S}/vendor/github.com/opencontainers/runtime-tools/validate | ||
| 35 | ln -sf ../../../../cmd ${S}/vendor/github.com/opencontainers/runtime-tools/cmd | ||
| 36 | |||
| 29 | oe_runmake | 37 | oe_runmake |
| 30 | } | 38 | } |
| 31 | 39 | ||
