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" |
Brad Bishop | d77088a | 2019-09-13 13:06:15 -0400 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
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 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 9 | RDEPENDS:${PN} += "virtual/obmc-gpio-monitor" |
Brandon Wyman | 7323739 | 2017-09-27 18:59:42 -0500 | [diff] [blame] | 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 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 15 | SYSTEMD_SERVICE:${PN} += "${SYNC_SERVICE}" |
Brandon Wyman | 7323739 | 2017-09-27 18:59:42 -0500 | [diff] [blame] | 16 | SYSTEMD_LINK_${PN} += "${SYNC_FMT}" |