From 6f00e4d640767faf00acb38013a2f9a19d27549f Mon Sep 17 00:00:00 2001 From: Brandon Wyman Date: Tue, 21 Jan 2020 16:45:45 -0600 Subject: Create phosphor-psu-monitor package 1. Create a phosphor-psu-monitor package. 2. Add the phosphor-psu-monitor binary to the package. 3. Add the phosphor-psu-monitor.service to the package. This will allow one to selectively install the refactored power supply monitor application to systems that want to use it. (From meta-phosphor rev: 7102a39f018806bb34d14923e4cd8de8dd2160b1) Change-Id: I107909226299de6fecefb2706bf453588bcc2f7c Signed-off-by: Brandon Wyman Signed-off-by: Brad Bishop --- meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb') diff --git a/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb b/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb index 5ae3d9664..ea7359660 100644 --- a/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb +++ b/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb @@ -25,6 +25,10 @@ DEPENDS += " \ i2c-tools \ " +PACKAGE_BEFORE_PN = "phosphor-psu-monitor" +FILES_phosphor-psu-monitor = "${bindir}/phosphor-psu-monitor \ + ${systemd_system_unitdir}/phosphor-psu-monitor.service" + SEQ_MONITOR_SVC = "pseq-monitor.service" SEQ_PGOOD_SVC = "pseq-monitor-pgood.service" PSU_MONITOR_TMPL = "power-supply-monitor@.service" -- cgit v1.2.3