summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bb
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2019-11-12 22:22:57 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-11-17 15:22:46 +0000
commitec7a5daa1d7fd05b3eb562bc1491817fcd5922a3 (patch)
tree73f8f2fb056c05296ef2129bcd4f2582cd0f37f2 /meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bb
parentf4e36886785aa2a907db9577b52c6a7035826387 (diff)
agl-service-hvac: rework configuration file packaging
Move agl-service-hvac hvac.json configuration file install into its own recipe so that just it will be machine-specific, and replace m3ulcb-specific agl-service-hvac bbappend with a more generic do_install_append_ulcb in the new agl-service-hvac-conf recipe. Bug-AGL: SPEC-2949 Change-Id: Iabdfa2c204017a30bf82bed3eb6debbd3eb0be9c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bb')
-rw-r--r--meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bb8
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bb b/meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bb
index f5dc0814a..665e1ded4 100644
--- a/meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bb
+++ b/meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bb
@@ -13,10 +13,8 @@ PV = "1.0+git${SRCPV}"
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
+
+RDEPENDS_${PN} += "agl-service-identity-agent"
+RRECOMMENDS_${PN} += "agl-service-hvac-conf"