]> code.ossystems Code Review - openembedded-core.git/commit
go: Exclude vcs files when installing deps
authorAlex Kiernan <alex.kiernan@gmail.com>
Sun, 5 May 2019 05:23:32 +0000 (06:23 +0100)
committerArmin Kuster <akuster808@gmail.com>
Thu, 9 May 2019 01:30:06 +0000 (18:30 -0700)
commit0da5f86e05ff63e9362cc9b216c7e6007c0de26f
treea803e75f21fc86783c5451855d9926f43edaf989
parent9f47cea3c58a53db8599f1be4ff4401406c00928
go: Exclude vcs files when installing deps

Because our clones use the host git, on (say) Ubuntu 18.04, the local
git directories acquire perl scripts such as fsmonitor-watchman.sample.
During packaging, this leads to failures:

  ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: QA Issue: /usr/lib/go/pkg/dep/sources/https---github.com-nsf-termbox--go/.git/hooks/fsmonitor-watchman.sample contained in package go-hsperfdata-staticdev requires /usr/bin/perl, but no providers found in RDEPENDS_go-hsperfdata-staticdev? [file-rdeps]
  ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
  ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa:
  ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: Function failed: do_package_qa

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/go.bbclass