X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-demo%2Fhvac%2Fhvac_git.bb;h=53d070c46920081bd7f2b3b868ceaf4e0efb7f70;hb=refs%2Ftags%2Fmarlin_13.0.2;hp=ffa1234fec9fd0b5023aff7e31d04ba8bc59a8d6;hpb=e3e399730736deb17b4fa36f2fedda39cf510243;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-demo/hvac/hvac_git.bb b/recipes-demo/hvac/hvac_git.bb index ffa1234fe..53d070c46 100644 --- a/recipes-demo/hvac/hvac_git.bb +++ b/recipes-demo/hvac/hvac_git.bb @@ -16,13 +16,29 @@ DEPENDS = " \ PV = "2.0+git${SRCPV}" -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/hvac;protocol=https;branch=${AGL_BRANCH}" -SRCREV = "${AGL_APP_REVISION}" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/apps/hvac;protocol=https;branch=${AGL_BRANCH} \ + file://hvac.conf \ + file://hvac.token \ +" +SRCREV = "2f96cf1047608fa5bf83addc52695b1b7d23b28c" S = "${WORKDIR}/git" inherit qmake5 pkgconfig +do_install:append() { + # Currently using default global client and CA certificates + # for KUKSA.val SSL, installing app specific ones would go here. + + # VIS authorization token file for KUKSA.val should ideally not + # be readable by other users, but currently that's not doable + # until a packaging/sandboxing/MAC scheme is (re)implemented or + # something like OAuth is plumbed in as an alternative. + install -d ${D}${sysconfdir}/xdg/AGL/hvac + install -m 0644 ${WORKDIR}/hvac.conf ${D}${sysconfdir}/xdg/AGL/ + install -m 0644 ${WORKDIR}/hvac.token ${D}${sysconfdir}/xdg/AGL/hvac/ +} + FILES:${PN} += "${datadir}/icons/" RDEPENDS:${PN} += " \