summaryrefslogtreecommitdiffstats
path: root/recipes-demo/navigation/ondemandnavi-config_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-demo/navigation/ondemandnavi-config_1.0.bb')
-rw-r--r--recipes-demo/navigation/ondemandnavi-config_1.0.bb6
1 files changed, 0 insertions, 6 deletions
diff --git a/recipes-demo/navigation/ondemandnavi-config_1.0.bb b/recipes-demo/navigation/ondemandnavi-config_1.0.bb
index 644102ed3..db696c048 100644
--- a/recipes-demo/navigation/ondemandnavi-config_1.0.bb
+++ b/recipes-demo/navigation/ondemandnavi-config_1.0.bb
@@ -11,14 +11,8 @@ SRC_URI = "file://naviconfig.ini \
inherit allarch
-MAPBOX_ACCESS_TOKEN ?= ""
-
do_compile[noexec] = "1"
do_install () {
install -D -m 644 ${WORKDIR}/naviconfig.ini ${D}${sysconfdir}/naviconfig.ini
- if [ -n "${MAPBOX_ACCESS_TOKEN}" ]; then
- sed -i -e 's/MAPBOX_ACCESS_TOKEN/${MAPBOX_ACCESS_TOKEN}/;s/\("enableOSM":\)true/\1false/' \
- ${D}${sysconfdir}/naviconfig.ini
- fi
}