summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb6
-rw-r--r--recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb12
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"
9PKG_NAME = "github.com/opencontainers/${SRCNAME}" 9PKG_NAME = "github.com/opencontainers/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME}" 10SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME}"
11 11
12SRCREV = "4af0c72f92aacf1b43618d7986197d8209fadf0b" 12SRCREV = "a39b1cd4fdf7743ab721cc9da58abbee2f8624d1"
13PV = "v1.0.0-rc4+git${SRCPV}" 13PV = "v1.0.0-rc6+git${SRCPV}"
14 14
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16 16
@@ -38,4 +38,4 @@ runtime_spec_file_sysroot_preprocess () {
38 38
39FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" 39FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
40 40
41CLEANBROKEN = "1" \ No newline at end of file 41CLEANBROKEN = "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
6SRC_URI = "git://github.com/opencontainers/runtime-tools.git" 6SRC_URI = "git://github.com/opencontainers/runtime-tools.git"
7 7
8SRCREV = "038b0c99b82f3c08de31f6b09e693eb24644affd" 8SRCREV = "15ec1df3f6607f4223ab3915547c184cf60a30dd"
9PV = "0.0.1+git${SRCPV}" 9PV = "0.0.1+git${SRCPV}"
10 10
11S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
@@ -16,7 +16,7 @@ inherit go
16do_compile() { 16do_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