From 81944693a030497ebf77f7ec9856ce23dca2ea88 Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Thu, 5 Oct 2017 13:38:16 +0000 Subject: netns: Update to v0.2.1 Signed-off-by: Paul Barker Signed-off-by: Bruce Ashfield --- recipes-networking/netns/netns_git.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'recipes-networking/netns') diff --git a/recipes-networking/netns/netns_git.bb b/recipes-networking/netns/netns_git.bb index 8e771f5b..44377647 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 -- cgit v1.2.3-54-g00ecf