mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
netns: Update to v0.2.1
Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
5d564365cf
commit
81944693a0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user