Brad Bishop | 5f9be07 | 2016-06-27 14:53:52 -0400 | [diff] [blame] | 1 | SUMMARY = "org.openbmc.control.Host implementation for OpenPOWER" |
| 2 | DESCRIPTION = "A host control implementation suitable for OpenPOWER systems." |
| 3 | PR = "r1" |
| 4 | |
| 5 | inherit skeleton-gdbus |
Brad Bishop | 1d525fa | 2016-08-17 20:27:37 -0400 | [diff] [blame] | 6 | inherit obmc-phosphor-dbus-service |
Brad Bishop | 9267362 | 2018-01-26 21:30:17 -0500 | [diff] [blame] | 7 | inherit pkgconfig |
Brad Bishop | 5f9be07 | 2016-06-27 14:53:52 -0400 | [diff] [blame] | 8 | |
Sergey Solomin | aac4adf | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 9 | PROVIDES += "virtual/obmc-host-ctl" |
| 10 | RPROVIDES_${PN} += "virtual-obmc-host-ctl" |
| 11 | |
Brad Bishop | 5f9be07 | 2016-06-27 14:53:52 -0400 | [diff] [blame] | 12 | SKELETON_DIR = "op-hostctl" |
Brad Bishop | 1d525fa | 2016-08-17 20:27:37 -0400 | [diff] [blame] | 13 | |
| 14 | FMT = "org.openbmc.control.Host@{0}.service" |
| 15 | DBUS_SERVICE_${PN} += "${@compose_list(d, 'FMT', 'OBMC_HOST_INSTANCES')}" |
Andrew Geissler | 238f3a7 | 2017-03-23 12:48:06 -0500 | [diff] [blame] | 16 | SYSTEMD_SERVICE_${PN} = " \ |
| 17 | op-start-host@.service \ |
Andrew Geissler | 14f965d | 2017-05-11 09:54:04 -0500 | [diff] [blame] | 18 | op-init-pnor@.service \ |
Andrew Geissler | 238f3a7 | 2017-03-23 12:48:06 -0500 | [diff] [blame] | 19 | " |
Brad Bishop | 1d525fa | 2016-08-17 20:27:37 -0400 | [diff] [blame] | 20 | |
| 21 | START_TMPL = "op-start-host@.service" |
Josh D. King | efb04a1 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 22 | START_TGTFMT = "obmc-host-start@{1}.target" |
Brad Bishop | 1d525fa | 2016-08-17 20:27:37 -0400 | [diff] [blame] | 23 | START_INSTFMT = "obmc-start-host@{0}.service" |
Andrew Geissler | 3c35a8c | 2017-02-08 15:54:25 -0600 | [diff] [blame] | 24 | START_FMT = "../${START_TMPL}:${START_TGTFMT}.requires/${START_INSTFMT}" |
Brad Bishop | 1d525fa | 2016-08-17 20:27:37 -0400 | [diff] [blame] | 25 | |
Andrew Geissler | 14f965d | 2017-05-11 09:54:04 -0500 | [diff] [blame] | 26 | INIT_PNOR_TMPL = "op-init-pnor@.service" |
| 27 | INIT_PNOR_INSTFMT = "op-init-pnor@{0}.service" |
| 28 | INIT_PNOR_FMT = "../${INIT_PNOR_TMPL}:${START_TGTFMT}.requires/${INIT_PNOR_INSTFMT}" |
| 29 | |
Brad Bishop | 1d525fa | 2016-08-17 20:27:37 -0400 | [diff] [blame] | 30 | SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'START_FMT', 'OBMC_HOST_INSTANCES', 'OBMC_CHASSIS_INSTANCES')}" |
Andrew Geissler | 14f965d | 2017-05-11 09:54:04 -0500 | [diff] [blame] | 31 | SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'INIT_PNOR_FMT', 'OBMC_HOST_INSTANCES', 'OBMC_CHASSIS_INSTANCES')}" |