diff options
Diffstat (limited to 'recipes-networking/netns/netns_git.bb')
-rw-r--r-- | recipes-networking/netns/netns_git.bb | 11 |
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" | |||
4 | LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=48ef0979a2bcc3fae14ff30b8a7f5dbf" | 4 | LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=48ef0979a2bcc3fae14ff30b8a7f5dbf" |
5 | 5 | ||
6 | SRC_URI = "git://github.com/genuinetools/netns;branch=master \ | 6 | SRC_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 | " |
10 | SRCREV = "0da6ab0997707024debe68c91e940c9168041bf8" | 9 | SRCREV = "9b103a19b917cc3762a33b7d78244b1d5e45ccfd" |
11 | PV = "0.4.0" | 10 | PV = "0.5.3" |
12 | GO_IMPORT = "import" | 11 | GO_IMPORT = "import" |
13 | 12 | ||
14 | S = "${WORKDIR}/git" | 13 | S = "${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 | ||
51 | do_install() { | 56 | do_install() { |