summaryrefslogtreecommitdiffstats
path: root/recipes-sota/config/aktualizr-disable-send-ip.bb
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2018-05-03 12:22:52 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2018-05-04 14:47:42 +0200
commitf01b2b06c6fb76cd5d83f5e23643a399d7f41606 (patch)
tree284ed53990b2699c3895310aa681380e47874b71 /recipes-sota/config/aktualizr-disable-send-ip.bb
parent0c40c88798b9b36eae8af28424899d76ed321758 (diff)
downloadmeta-updater-f01b2b06c6fb76cd5d83f5e23643a399d7f41606.tar.gz
Update aktualizr config to use default locations.
Fix permissions, drop explicit aktualizr dependency, put everything in /usr/lib/sota/conf.d, rename with numeric prefixes to make precedence more clear.
Diffstat (limited to 'recipes-sota/config/aktualizr-disable-send-ip.bb')
-rw-r--r--recipes-sota/config/aktualizr-disable-send-ip.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes-sota/config/aktualizr-disable-send-ip.bb b/recipes-sota/config/aktualizr-disable-send-ip.bb
index 32c55f3..ce492e9 100644
--- a/recipes-sota/config/aktualizr-disable-send-ip.bb
+++ b/recipes-sota/config/aktualizr-disable-send-ip.bb
@@ -5,18 +5,17 @@ SECTION = "base"
5LICENSE = "MPL-2.0" 5LICENSE = "MPL-2.0"
6LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=9741c346eef56131163e13b9db1241b3" 6LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=9741c346eef56131163e13b9db1241b3"
7 7
8DEPENDS = "aktualizr "
9SRC_URI = " \ 8SRC_URI = " \
10 file://LICENSE \ 9 file://LICENSE \
11 " 10 "
12 11
13do_install_append () { 12do_install_append () {
14 install -m 0700 -d ${D}${libdir}/sota/conf.d 13 install -m 0700 -d ${D}${libdir}/sota/conf.d
15 echo "[telemetry]\nreport_network = false\n" > ${D}${libdir}/sota/conf.d/disable-send-ip.toml 14 echo "[telemetry]\nreport_network = false\n" > ${D}${libdir}/sota/conf.d/30-disable-send-ip.toml
16} 15}
17 16
18FILES_${PN} = " \ 17FILES_${PN} = " \
19 ${libdir}/sota/conf.d/disable-send-ip.toml \ 18 ${libdir}/sota/conf.d/30-disable-send-ip.toml \
20 " 19 "
21 20
22# vim:set ts=4 sw=4 sts=4 expandtab: 21# vim:set ts=4 sw=4 sts=4 expandtab: