From: Scott Murray Date: Mon, 17 Dec 2018 01:51:25 +0000 (-0500) Subject: poiapp-api-key: Add client ID X-Git-Tag: guppy_6.99.3~3 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl-demo.git;a=commitdiff_plain;h=d786abb46aa885898c61d08dc7d6b4564bea2b93 poiapp-api-key: Add client ID Somehow in my original testing the POI app was working even though the client ID was not being added to /etc/poikey as the first line. Add a POIAPP_CLIENT_ID variable to go with POIAPP_API_KEY, and write them both to the file. As well, mark the package as platform independent, as it contains just a text configuration file. Change-Id: Iab5d6aa44007c61457697882d9a2ece12f984acf Signed-off-by: Scott Murray --- diff --git a/recipes-demo-hmi/navigation/poiapp-api-key_1.0.bb b/recipes-demo-hmi/navigation/poiapp-api-key_1.0.bb index ad6546fea..4d53fdbfb 100755 --- a/recipes-demo-hmi/navigation/poiapp-api-key_1.0.bb +++ b/recipes-demo-hmi/navigation/poiapp-api-key_1.0.bb @@ -9,9 +9,13 @@ do_fetch[noexec] = "1" do_unpack[noexec] = "1" do_compile[noexec] = "1" +POIAPP_CLIENT_ID ?= "" POIAPP_API_KEY ?= "" do_install () { install -d ${D}${sysconfdir} - echo "${POIAPP_API_KEY}" > ${D}${sysconfdir}/poikey + echo "${POIAPP_CLIENT_ID}" > ${D}${sysconfdir}/poikey + echo "${POIAPP_API_KEY}" >> ${D}${sysconfdir}/poikey } + +PACKAGE_ARCH = "all"