Brad Bishop | 86ee1cf | 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 | 0fe8046 | 2016-08-17 20:27:37 -0400 | [diff] [blame] | 6 | inherit obmc-phosphor-dbus-service |
Brad Bishop | 86ee1cf | 2016-06-27 14:53:52 -0400 | [diff] [blame] | 7 | |
Sergey Solomin | 7df1936 | 2016-11-28 15:03:24 -0600 | [diff] [blame] | 8 | PROVIDES += "virtual/obmc-host-ctl" |
| 9 | RPROVIDES_${PN} += "virtual-obmc-host-ctl" |
| 10 | |
Brad Bishop | 86ee1cf | 2016-06-27 14:53:52 -0400 | [diff] [blame] | 11 | SKELETON_DIR = "op-hostctl" |
Brad Bishop | 0fe8046 | 2016-08-17 20:27:37 -0400 | [diff] [blame] | 12 | |
| 13 | FMT = "org.openbmc.control.Host@{0}.service" |
| 14 | DBUS_SERVICE_${PN} += "${@compose_list(d, 'FMT', 'OBMC_HOST_INSTANCES')}" |
Andrew Geissler | 3a20659 | 2017-03-23 12:48:06 -0500 | [diff] [blame] | 15 | SYSTEMD_SERVICE_${PN} = " \ |
| 16 | op-start-host@.service \ |
Andrew Geissler | 25875e3 | 2017-05-11 09:54:04 -0500 | [diff] [blame] | 17 | op-init-pnor@.service \ |
Andrew Geissler | 3a20659 | 2017-03-23 12:48:06 -0500 | [diff] [blame] | 18 | " |
Brad Bishop | 0fe8046 | 2016-08-17 20:27:37 -0400 | [diff] [blame] | 19 | |
| 20 | START_TMPL = "op-start-host@.service" |
Josh D. King | a283e07 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 21 | START_TGTFMT = "obmc-host-start@{1}.target" |
Brad Bishop | 0fe8046 | 2016-08-17 20:27:37 -0400 | [diff] [blame] | 22 | START_INSTFMT = "obmc-start-host@{0}.service" |
Andrew Geissler | a31fba5 | 2017-02-08 15:54:25 -0600 | [diff] [blame] | 23 | START_FMT = "../${START_TMPL}:${START_TGTFMT}.requires/${START_INSTFMT}" |
Brad Bishop | 0fe8046 | 2016-08-17 20:27:37 -0400 | [diff] [blame] | 24 | |
Andrew Geissler | 25875e3 | 2017-05-11 09:54:04 -0500 | [diff] [blame] | 25 | INIT_PNOR_TMPL = "op-init-pnor@.service" |
| 26 | INIT_PNOR_INSTFMT = "op-init-pnor@{0}.service" |
| 27 | INIT_PNOR_FMT = "../${INIT_PNOR_TMPL}:${START_TGTFMT}.requires/${INIT_PNOR_INSTFMT}" |
| 28 | |
Brad Bishop | 0fe8046 | 2016-08-17 20:27:37 -0400 | [diff] [blame] | 29 | SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'START_FMT', 'OBMC_HOST_INSTANCES', 'OBMC_CHASSIS_INSTANCES')}" |
Andrew Geissler | 25875e3 | 2017-05-11 09:54:04 -0500 | [diff] [blame] | 30 | SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'INIT_PNOR_FMT', 'OBMC_HOST_INSTANCES', 'OBMC_CHASSIS_INSTANCES')}" |