Skip to contentSkip to conversation

influxdb: Do not package upstream CI files

PATCH New Khem Raj 1 participant 1 message Nov 2

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

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.

---
 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
index 4ce8e3681c..7c553b647c 100644
@@ -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() {