summaryrefslogtreecommitdiffstats
path: root/recipes-networking/netns/netns_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-networking/netns/netns_git.bb')
-rw-r--r--recipes-networking/netns/netns_git.bb11
1 files changed, 8 insertions, 3 deletions
diff --git a/recipes-networking/netns/netns_git.bb b/recipes-networking/netns/netns_git.bb
index f5cdace0..da6aac21 100644
--- a/recipes-networking/netns/netns_git.bb
+++ b/recipes-networking/netns/netns_git.bb
@@ -4,11 +4,10 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=48ef0979a2bcc3fae14ff30b8a7f5dbf" 4LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=48ef0979a2bcc3fae14ff30b8a7f5dbf"
5 5
6SRC_URI = "git://github.com/genuinetools/netns;branch=master \ 6SRC_URI = "git://github.com/genuinetools/netns;branch=master \
7 file://0001-Allow-selection-of-go-compiler.patch \
8 file://Makefile-force-rebuilding-all-packages-to-avoid-cgo.patch \ 7 file://Makefile-force-rebuilding-all-packages-to-avoid-cgo.patch \
9 " 8 "
10SRCREV = "0da6ab0997707024debe68c91e940c9168041bf8" 9SRCREV = "9b103a19b917cc3762a33b7d78244b1d5e45ccfd"
11PV = "0.4.0" 10PV = "0.5.3"
12GO_IMPORT = "import" 11GO_IMPORT = "import"
13 12
14S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
@@ -46,6 +45,12 @@ do_compile() {
46 # Static builds work but are not recommended. See Makefile*cgo patch. 45 # Static builds work but are not recommended. See Makefile*cgo patch.
47 #oe_runmake static 46 #oe_runmake static
48 oe_runmake build 47 oe_runmake build
48
49 # Golang forces permissions to 0500 on directories and 0400 on files in
50 # the module cache which prevents us from easily cleaning up the build
51 # directory. Let's just fix the permissions here so we don't have to
52 # hack the clean tasks.
53 chmod -R u+w vendor/pkg/mod
49} 54}
50 55
51do_install() { 56do_install() {