phosphor-power: Add phosphor-regulators service
Add the base phosphor-regulators service that starts the binary and have
bitbake install it to the appropriate location in the image.
Tested:
Service installed and started at BMC standby
Change-Id: Icc328f2e634e824cc077bbec0e2ef27b4df6a22a
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Bumped SRCREV to pick up required unit files.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/recipes-phosphor/power/phosphor-power.inc b/recipes-phosphor/power/phosphor-power.inc
index 9778df3..167eebd 100644
--- a/recipes-phosphor/power/phosphor-power.inc
+++ b/recipes-phosphor/power/phosphor-power.inc
@@ -2,4 +2,4 @@
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
SRC_URI += "git://github.com/openbmc/phosphor-power"
-SRCREV = "b3e48bca920006d5543549d547ebd284c7b3b124"
+SRCREV = "7d3a9f1b54d2ae47f47371d962d2f234b82fadbc"
diff --git a/recipes-phosphor/power/phosphor-power_git.bb b/recipes-phosphor/power/phosphor-power_git.bb
index aaac557..c710645 100644
--- a/recipes-phosphor/power/phosphor-power_git.bb
+++ b/recipes-phosphor/power/phosphor-power_git.bb
@@ -36,3 +36,7 @@
# Package all phosphor-regulators config files
FILES_${PN} += "${datadir}/phosphor-regulators"
+
+# ${PN}-regulators service/systemd setup
+REGS_SVC = "phosphor-regulators.service"
+SYSTEMD_SERVICE_${PN} += "${REGS_SVC}"