Signed-off-by: Paul Barker <[email protected]>
---
recipes-networking/netns/netns_git.bb | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/recipes-networking/netns/netns_git.bb
b/recipes-networking/netns/netns_git.bb
index 8e771f5..4437764 100644
--- a/recipes-networking/netns/netns_git.bb
+++ b/recipes-networking/netns/netns_git.bb
@@ -4,8 +4,8 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM =
"file://src/import/LICENSE;md5=20ce4c6a4f32d6ee4a68e3a7506db3f1"
SRC_URI = "git://github.com/jessfraz/netns;branch=master"
-SRCREV = "85b1ab9fcccbaa404a2636b52a48bbde02437cf7"
-PV = "0.1.0+git${SRCPV}"
+SRCREV = "74e23a0e5c4e7ac011aafcc4623586c196f1b3ef"
+PV = "0.2.1"
GO_IMPORT = "import"
S = "${WORKDIR}/git"
@@ -21,11 +21,12 @@ do_compile() {
# Go looks in a src directory under any directory in GOPATH but netns
# uses 'vendor' instead of 'vendor/src'. We can fix this with a symlink.
#
- # We also need to link in the ipallocator directory as that is not under
- # a src directory.
+ # We also need to link in the ipallocator and version directories as
+ # they are not under the src directory.
ln -sfn . "${S}/src/import/vendor/src"
mkdir -p "${S}/src/import/vendor/src/github.com/jessfraz/netns"
ln -sfn "${S}/src/import/ipallocator"
"${S}/src/import/vendor/src/github.com/jessfraz/netns/ipallocator"
+ ln -sfn "${S}/src/import/version"
"${S}/src/import/vendor/src/github.com/jessfraz/netns/version"
export GOPATH="${S}/src/import/vendor"
# Pass the needed cflags/ldflags so that cgo
--
2.7.4
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization