influxdb: Do not package upstream CI files
PATCH 1/1 influxdb: Do not package upstream CI files
.circleci and scripts/ci are upstream's tooling for its AWS Ubuntu test runners. They hardcode /home/ubuntu, which trips the buildpaths QA check on build hosts whose HOME has the same path:
File .../influxdb/.circleci/config.yml in package influxdb-dev contains a reference to the build host HOME directory.
Remove them before do_install instead of setting OEQA_BUILDPATHS_SKIP, as they are of no use in influxdb-dev and a skip would also hide real leaks. run_perftest.sh goes with them, so drop the sed fixing its shebang.
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb +1 -2
@@ -37,8 +37,7 @@ do_install:prepend() { test -e ${B}/src/${GO_IMPORT}/build.py && rm ${B}/src/${GO_IMPORT}/build.py test -e ${B}/src/${GO_IMPORT}/build.sh && rm ${B}/src/${GO_IMPORT}/build.sh rm -rf ${B}/src/${GO_IMPORT}/Dockerfile* - - sed -i -e "s#usr/bin/sh#bin/sh#g" ${B}/src/${GO_IMPORT}/scripts/ci/run_perftest.sh + rm -rf ${B}/src/${GO_IMPORT}/.circleci ${B}/src/${GO_IMPORT}/scripts/ci } do_install:append() {