mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
influxdb: Do not remove non-existing files
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit cd6e2d8f53)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
@@ -38,9 +38,10 @@ USERADD_PACKAGES = "${PN}"
|
||||
USERADD_PARAM:${PN} = "--system -d /var/lib/influxdb -m -s /bin/nologin influxdb"
|
||||
|
||||
do_install:prepend() {
|
||||
rm ${B}/src/${GO_IMPORT}/build.py
|
||||
rm ${B}/src/${GO_IMPORT}/build.sh
|
||||
rm ${B}/src/${GO_IMPORT}/Dockerfile*
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user