Brandon Wyman | f0a24b8 | 2019-03-13 13:27:13 -0500 | [diff] [blame] | 1 | SUMMARY = "Power Supply Sync" |
Brandon Wyman | 7323739 | 2017-09-27 18:59:42 -0500 | [diff] [blame] | 2 | DESCRIPTION = "Synchronizes the power supplies' INPUT_HISTORY data" |
| 3 | PR = "r1" |
Brad Bishop | 6738f35 | 2018-11-07 13:04:06 -0800 | [diff] [blame] | 4 | LICENSE = "Apache-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://${IBMBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
Brandon Wyman | 7323739 | 2017-09-27 18:59:42 -0500 | [diff] [blame] | 6 | |
Brandon Wyman | 7323739 | 2017-09-27 18:59:42 -0500 | [diff] [blame] | 7 | inherit obmc-phosphor-systemd |
| 8 | |
| 9 | RDEPENDS_${PN} += "virtual/obmc-gpio-monitor" |
| 10 | |
Brandon Wyman | f0a24b8 | 2019-03-13 13:27:13 -0500 | [diff] [blame] | 11 | SYNC_SERVICE = "power-supply-sync.service" |
Brandon Wyman | 7323739 | 2017-09-27 18:59:42 -0500 | [diff] [blame] | 12 | TGTFMT = "obmc-chassis-poweron@0.target" |
| 13 | SYNC_FMT = "../${SYNC_SERVICE}:${TGTFMT}.wants/${SYNC_SERVICE}" |
| 14 | |
| 15 | SYSTEMD_SERVICE_${PN} += "${SYNC_SERVICE}" |
| 16 | SYSTEMD_LINK_${PN} += "${SYNC_FMT}" |