PKLee-Quanta | b0d8765 | 2018-12-22 09:28:33 +0800 | [diff] [blame] | 1 | inherit obmc-phosphor-systemd |
| 2 | |
| 3 | FILESEXTRAPATHS_prepend_f0b := "${THISDIR}/${PN}:" |
| 4 | |
| 5 | EEPROM_NAMES = "motherboard " |
| 6 | |
| 7 | EEPROMFMT = "system/{0}" |
| 8 | EEPROM_ESCAPEDFMT = "system-{0}" |
| 9 | EEPROMS = "${@compose_list(d, 'EEPROMFMT', 'EEPROM_NAMES')}" |
| 10 | EEPROMS_ESCAPED = "${@compose_list(d, 'EEPROM_ESCAPEDFMT', 'EEPROM_NAMES')}" |
| 11 | |
| 12 | ENVFMT = "obmc/eeproms/{0}" |
| 13 | SYSTEMD_ENVIRONMENT_FILE_${PN}_append_f0b := " ${@compose_list(d, 'ENVFMT', 'EEPROMS')}" |
| 14 | |
| 15 | TMPL = "obmc-read-eeprom@.service" |
Patrick Venture | 7f06d66 | 2019-04-05 07:46:47 -0700 | [diff] [blame] | 16 | TGT = "multi-user.target" |
PKLee-Quanta | b0d8765 | 2018-12-22 09:28:33 +0800 | [diff] [blame] | 17 | INSTFMT = "obmc-read-eeprom@{0}.service" |
| 18 | FMT = "../${TMPL}:${TGT}.wants/${INSTFMT}" |
| 19 | |
| 20 | SYSTEMD_LINK_${PN}_append_f0b := " ${@compose_list(d, 'FMT', 'EEPROMS_ESCAPED')}" |