blob: ea7804bcddb6483dd62e00ec1e1726ad4a34af72 [file] [log] [blame]
Brandon Wyman1c078752017-09-27 18:59:42 -05001SUMMARY = "Witherspoon Power Supply Sync"
2DESCRIPTION = "Synchronizes the power supplies' INPUT_HISTORY data"
3PR = "r1"
Patrick Venture1e257702018-11-05 20:21:28 -08004LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://${IBMBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
Brandon Wyman1c078752017-09-27 18:59:42 -05006
Brandon Wyman1c078752017-09-27 18:59:42 -05007inherit obmc-phosphor-systemd
8
9RDEPENDS_${PN} += "virtual/obmc-gpio-monitor"
10
11SYNC_SERVICE = "witherspoon-power-supply-sync.service"
12TGTFMT = "obmc-chassis-poweron@0.target"
13SYNC_FMT = "../${SYNC_SERVICE}:${TGTFMT}.wants/${SYNC_SERVICE}"
14
15SYSTEMD_SERVICE_${PN} += "${SYNC_SERVICE}"
16SYSTEMD_LINK_${PN} += "${SYNC_FMT}"