summaryrefslogtreecommitdiffstats
path: root/recipes-sota/config/aktualizr-disable-send-ip.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-sota/config/aktualizr-disable-send-ip.bb')
-rw-r--r--recipes-sota/config/aktualizr-disable-send-ip.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-sota/config/aktualizr-disable-send-ip.bb b/recipes-sota/config/aktualizr-disable-send-ip.bb
new file mode 100644
index 0000000..ce492e9
--- /dev/null
+++ b/recipes-sota/config/aktualizr-disable-send-ip.bb
@@ -0,0 +1,22 @@
1SUMMARY = "Disable IP reporting in Aktualizr"
2DESCRIPTION = "Configures aktualizr to disable IP reporting to the server"
3HOMEPAGE = "https://github.com/advancedtelematic/aktualizr"
4SECTION = "base"
5LICENSE = "MPL-2.0"
6LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=9741c346eef56131163e13b9db1241b3"
7
8SRC_URI = " \
9 file://LICENSE \
10 "
11
12do_install_append () {
13 install -m 0700 -d ${D}${libdir}/sota/conf.d
14 echo "[telemetry]\nreport_network = false\n" > ${D}${libdir}/sota/conf.d/30-disable-send-ip.toml
15}
16
17FILES_${PN} = " \
18 ${libdir}/sota/conf.d/30-disable-send-ip.toml \
19 "
20
21# vim:set ts=4 sw=4 sts=4 expandtab:
22