Skip to content

Commit

Permalink
Make sure the sstate mechanism doesn't try to mangle Go files. (#24)
Browse files Browse the repository at this point in the history
By defining the command to be "true" we produce an empty list of files
where path substitutions should be made. These are not necessary for
Go, and poky is sometimes producing an incorrect list.

See also commit 2313a77d8474c742e1cd8cee246f6c05847dd3c6 in poky.

Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
  • Loading branch information
kacf authored and mem committed Feb 20, 2017
1 parent 68a7ca5 commit fc6d8ac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes-devtools/go/go_1.4.3.inc
Expand Up @@ -16,6 +16,8 @@ SRC_URI += "\

LIC_FILES_CHKSUM = "file://${WORKDIR}/go-${PV}/go/LICENSE;md5=591778525c869cdde0ab5a1bf283cd81"

SSTATE_SCAN_CMD = "true"

do_install() {
install -d "${D}${libdir}/${PN}-${PV}"
tar -C "${WORKDIR}/go-${PV}/go/" -cf - bin include lib pkg src test |
Expand Down
2 changes: 2 additions & 0 deletions recipes-devtools/go/go_1.6.3.inc
Expand Up @@ -2,6 +2,8 @@ require go.inc

DEPENDS = "go-bootstrap-native"

SSTATE_SCAN_CMD = "true"

SRC_URI = "${SRC_URI_PREFIX}/go${PV}.src.tar.gz;subdir=go-${PV}"
SRC_URI[md5sum] = "bf3fce6ccaadd310159c9e874220e2a2"
SRC_URI[sha256sum] = "6326aeed5f86cf18f16d6dc831405614f855e2d416a91fd3fdc334f772345b00"
Expand Down
2 changes: 2 additions & 0 deletions recipes-devtools/go/go_1.7.4.inc
Expand Up @@ -2,6 +2,8 @@ require go.inc

DEPENDS = "go-bootstrap-native"

SSTATE_SCAN_CMD = "true"

SRC_URI = "${SRC_URI_PREFIX}/go${PV}.src.tar.gz;subdir=go-${PV}"
SRC_URI[md5sum] = "49c1076428a5d3b5ad7ac65233fcca2f"
SRC_URI[sha256sum] = "4c189111e9ba651a2bb3ee868aa881fab36b2f2da3409e80885ca758a6b614cc"
Expand Down

0 comments on commit fc6d8ac

Please sign in to comment.