blob: b0903e7147513f22b941a52be6b13d9e2f15d6ef [file] [log] [blame]
Brandon Wyman73237392017-09-27 18:59:42 -05001SUMMARY = "Witherspoon Power Supply Sync"
2DESCRIPTION = "Synchronizes the power supplies' INPUT_HISTORY data"
3PR = "r1"
4
5inherit obmc-phosphor-license
6inherit obmc-phosphor-systemd
7
8RDEPENDS_${PN} += "virtual/obmc-gpio-monitor"
9
10SYNC_SERVICE = "witherspoon-power-supply-sync.service"
11TGTFMT = "obmc-chassis-poweron@0.target"
12SYNC_FMT = "../${SYNC_SERVICE}:${TGTFMT}.wants/${SYNC_SERVICE}"
13
14SYSTEMD_SERVICE_${PN} += "${SYNC_SERVICE}"
15SYSTEMD_LINK_${PN} += "${SYNC_FMT}"