blob: 74bb9a0c5e1c899702f3b1bad6f8c4baf875ed23 [file] [log] [blame]
Brandon Wymanf0a24b82019-03-13 13:27:13 -05001SUMMARY = "Power Supply Sync"
Brandon Wyman73237392017-09-27 18:59:42 -05002DESCRIPTION = "Synchronizes the power supplies' INPUT_HISTORY data"
3PR = "r1"
Brad Bishop6738f352018-11-07 13:04:06 -08004LICENSE = "Apache-2.0"
Brad Bishopd77088a2019-09-13 13:06:15 -04005LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
Brandon Wyman73237392017-09-27 18:59:42 -05006
Brandon Wyman73237392017-09-27 18:59:42 -05007inherit obmc-phosphor-systemd
8
Adriana Kobylakb96c7502021-08-06 16:25:30 +00009RDEPENDS:${PN} += "virtual/obmc-gpio-monitor"
Brandon Wyman73237392017-09-27 18:59:42 -050010
Brandon Wymanf0a24b82019-03-13 13:27:13 -050011SYNC_SERVICE = "power-supply-sync.service"
Brandon Wyman73237392017-09-27 18:59:42 -050012TGTFMT = "obmc-chassis-poweron@0.target"
13SYNC_FMT = "../${SYNC_SERVICE}:${TGTFMT}.wants/${SYNC_SERVICE}"
14
Adriana Kobylakb96c7502021-08-06 16:25:30 +000015SYSTEMD_SERVICE:${PN} += "${SYNC_SERVICE}"
Patrick Williamse83c2202021-09-01 16:17:33 -050016SYSTEMD_LINK:${PN} += "${SYNC_FMT}"