meta-phosphor: Package phosphor-regulators config files
Package all of the installed phosphor-regulators config files.
Installation of the config files are handled by the meson install
directive from within the phosphor-power/phosphor-regulators repository.
Tested:
All config files are present within an image using phosphor-power
Config files are located at /usr/share/phosphor-regulators in image
(From meta-phosphor rev: 280eeb9d2f3102b6e43d6f6b9a12406d6ecf93b9)
Change-Id: I4fd4ef555b97d800d28e4bf4cfafe32fdd207f27
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb b/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb
index 5ae3d96..598bfbc 100644
--- a/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb
+++ b/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb
@@ -29,3 +29,6 @@
SEQ_PGOOD_SVC = "pseq-monitor-pgood.service"
PSU_MONITOR_TMPL = "power-supply-monitor@.service"
SYSTEMD_SERVICE_${PN} += "${SEQ_MONITOR_SVC} ${SEQ_PGOOD_SVC} ${PSU_MONITOR_TMPL}"
+
+# Package all phosphor-regulators config files
+FILES_${PN} += "${datadir}/phosphor-regulators"