From: Scott Murray Date: Thu, 27 Jun 2019 01:01:11 +0000 (-0400) Subject: ondemandnavi-config: switch to allarch class X-Git-Tag: 7.99.2~1 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=inline;h=d61b4d3a028d7abc74cbcb9bad4cf1d21eb3f087;p=AGL%2Fmeta-agl-demo.git ondemandnavi-config: switch to allarch class Switch from setting PACKAGE_ARCH to inheriting the allarch class in the ondemandnavi-config recipe. This fixes a failure when building an image with the ondemandnavi application that seems due to a change between rocko and thud. Bug-AGL: SPEC-2576 Change-Id: I5c99571db72e600ae0da05304e46c503466985d2 Signed-off-by: Scott Murray --- diff --git a/recipes-demo-hmi/navigation/ondemandnavi-config_1.0.bb b/recipes-demo-hmi/navigation/ondemandnavi-config_1.0.bb old mode 100755 new mode 100644 index 784341edc..212971f26 --- a/recipes-demo-hmi/navigation/ondemandnavi-config_1.0.bb +++ b/recipes-demo-hmi/navigation/ondemandnavi-config_1.0.bb @@ -9,17 +9,13 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Proprietary;md5=0557f9d92cf58f2 SRC_URI = "file://naviconfig.ini \ " -S = "${WORKDIR}" +inherit allarch MAPBOX_ACCESS_TOKEN ?= "Please set mapbox access token" +do_compile[noexec] = "1" + do_install () { - install -d ${D}${sysconfdir} - install -m 644 ${WORKDIR}/naviconfig.ini ${D}${sysconfdir} + install -D -m 644 ${WORKDIR}/naviconfig.ini ${D}${sysconfdir}/naviconfig.ini sed -i -e 's/MAPBOX_ACCESS_TOKEN/${MAPBOX_ACCESS_TOKEN}/' ${D}${sysconfdir}/naviconfig.ini } - -PACKAGE_ARCH = "all" - -PACKAGES = "${PN}" -FILES_${PN} = "/etc/naviconfig.ini"