netns: Update to latest HEAD

There have been a couple of fixes and new features upstream, let's bring
them in. The upstream URL has also changed slightly.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Paul Barker 2017-04-03 11:27:10 +01:00 committed by Bruce Ashfield
parent 820050481f
commit 269a9208fb

View File

@ -3,8 +3,8 @@ SUMMARY = "Runc hook for setting up default bridge networking."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=20ce4c6a4f32d6ee4a68e3a7506db3f1"
SRC_URI = "git://github.com/jfrazelle/netns;branch=master"
SRCREV = "2804050eeab661bfa75c3aa06bdcf60273b02ca7"
SRC_URI = "git://github.com/jessfraz/netns;branch=master"
SRCREV = "85b1ab9fcccbaa404a2636b52a48bbde02437cf7"
PV = "0.1.0+git${SRCPV}"
S = "${WORKDIR}/git"
@ -23,8 +23,8 @@ do_compile() {
# We also need to link in the ipallocator directory as that is not under
# a src directory.
ln -sfn . "${S}/vendor/src"
mkdir -p "${S}/vendor/src/github.com/jfrazelle/netns"
ln -sfn "${S}/ipallocator" "${S}/vendor/src/github.com/jfrazelle/netns/ipallocator"
mkdir -p "${S}/vendor/src/github.com/jessfraz/netns"
ln -sfn "${S}/ipallocator" "${S}/vendor/src/github.com/jessfraz/netns/ipallocator"
export GOPATH="${S}/vendor"
# Pass the needed cflags/ldflags so that cgo