Skip to contentSkip to conversation

runc-opencontainers updates

PATCH In review Paul Barker 2 participants 4 messages Oct 4, 2017

lore
Share & tools
lore
#0 lore raw

cover runc-opencontainers updates

These changes fix the build for runc-opencontainers and upgrade to the latest version (v1.0.0-rc4).

Paul Barker (2):
runc-opencontainers: Update to v1.0.0-rc4
runc-opencontainers: go.bbclass compile fixes

 recipes-containers/runc/runc-opencontainers_git.bb | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/2 runc-opencontainers: Update to v1.0.0-rc4

---
 recipes-containers/runc/runc-opencontainers_git.bb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
recipes-containers/runc/runc-opencontainers_git.bb +3 -4
index 4a6e8cd..940ae95 100644
@@ -1,9 +1,8 @@
 include runc.inc
 
-SRCREV = "75f8da7c889acc4509a0cf6f0d3a8f9584778375"
-SRC_URI = "git://github.com/opencontainers/runc;branch=master \
-          "
-RUNC_VERSION = "1.0.0-rc3"
+SRCREV = "2e7cfe036e2c6dc51ccca6eb7fa3ee6b63976dcd"
+SRC_URI = "git://github.com/opencontainers/runc;branch=master"
+RUNC_VERSION = "1.0.0-rc4"
 PROVIDES += "virtual/runc"
 RPROVIDES_${PN} = "virtual/runc"
 
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/2 runc-opencontainers: go.bbclass compile fixes

In reply to Paul Barker

These fixes are needed due to updates to go.bbclass in oe-core. See commit 01a8d4537012ad93dc8510e9b762acdc8c4536c7 for more information.

---
 recipes-containers/runc/runc-opencontainers_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-containers/runc/runc-opencontainers_git.bb +3 -1
index 940ae95..902a93d 100644
@@ -6,9 +6,11 @@ RUNC_VERSION = "1.0.0-rc4"
 PROVIDES += "virtual/runc"
 RPROVIDES_${PN} = "virtual/runc"
 
+GO_IMPORT = "import"
+
 do_compile_prepend() {
 	# Go looks in a src directory under any directory in GOPATH but
 	# runc-opencontainers uses 'vendor' instead of 'vendor/src'. We can fix
 	# this with a symlink.
-	ln -sfn . "${S}/vendor/src"
+	ln -sfn . "${S}/src/import/vendor/src"
 }
Signature · 1 line
2.7.4
#3 lore raw

Re: [PATCH 2/2] runc-opencontainers: go.bbclass compile fixes

Quoted 2 lines · Paul Barker

These fixes are needed due to updates to go.bbclass in oe-core. See commit 01a8d4537012ad93dc8510e9b762acdc8c4536c7 for more information.

Yah, same thing we did for the docker variant. This is now merged.

Bruce

Quoted 31 lines
---
 recipes-containers/runc/runc-opencontainers_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-containers/runc/runc-opencontainers_git.bb +3 -2
index 940ae95..902a93d 100644
@@ -6,9 +6,11 @@ RUNC_VERSION = "1.0.0-rc4"
 PROVIDES += "virtual/runc"
 RPROVIDES_${PN} = "virtual/runc"
 
+GO_IMPORT = "import"
+
 do_compile_prepend() {
        # Go looks in a src directory under any directory in GOPATH but
        # runc-opencontainers uses 'vendor' instead of 'vendor/src'. We can fix
        # this with a symlink.
-       ln -sfn . "${S}/vendor/src"
+       ln -sfn . "${S}/src/import/vendor/src"
 }
--

2.7.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"