agl-service-hvac: Install hvac.json into /etc 08/21808/3
authorHarunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Thu, 4 Jul 2019 08:35:15 +0000 (17:35 +0900)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 9 Jul 2019 08:11:16 +0000 (08:11 +0000)
agl-service-hvac has hvac.json file to set LED and
CAN_DEV parameter, however this file is not installed.

v2 move to main bb recipe file.
  fix wrong discription from WORKDIR to {S}.

Bug-AGL: SPEC-2600

Change-Id: I8c0a416b3196b67cbb131d9351a1d20cc2dfe74f
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bb

index dcd38c2..f5dc081 100644 (file)
@@ -15,4 +15,8 @@ S  = "${WORKDIR}/git"
 DEPENDS = "json-c"
 RDEPENDS_${PN} += "agl-service-identity-agent"
 
+do_install_append () {
+    install -D -m 644 ${S}/hvac.json ${D}${sysconfdir}/hvac.json
+}
+
 inherit cmake aglwgt pkgconfig