Santosh Puranik | 2d9265d | 2022-12-22 22:12:25 +0530 | [diff] [blame] | 1 | DEPENDS:append:p10bmc = " cli11" |
| 2 | DEPENDS:append:p10bmc = " nlohmann-json" |
| 3 | DEPENDS:append:p10bmc = " phosphor-dbus-interfaces" |
| 4 | DEPENDS:append:p10bmc = " libgpiod" |
| 5 | |
| 6 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| 7 | |
| 8 | SYSTEMD_SERVICE:${PN}:append:p10bmc = " ibm-vpd-parser@.service" |
| 9 | SYSTEMD_SERVICE:${PN}:append:p10bmc = " system-vpd.service" |
| 10 | SYSTEMD_SERVICE:${PN}:append:p10bmc = " com.ibm.VPD.Manager.service" |
| 11 | SYSTEMD_SERVICE:${PN}:append:p10bmc = " wait-vpd-parsers.service" |
| 12 | SYSTEMD_SERVICE:${PN}:remove:p10bmc = " op-vpd-parser.service" |
| 13 | PACKAGECONFIG:append:p10bmc = " ibm-parser vpd-manager" |
| 14 | |
| 15 | FILES:${PN}:append:p10bmc = " ${datadir}/vpd/*.json" |
| 16 | |
| 17 | do_install:append:p10bmc() { |
| 18 | # Remove files that are used by openpower-read-vpd |
| 19 | DEST=${D}${inventory_envdir} |
| 20 | rm ${DEST}/inventory |
| 21 | rm ${D}/${nonarch_base_libdir}/udev/rules.d/70-op-vpd.rules |
| 22 | } |
| 23 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 24 | do_install:append:witherspoon() { |
Deepak Kodihalli | 075f437 | 2017-02-14 04:25:04 -0600 | [diff] [blame] | 25 | DEST=${D}${inventory_envdir} |
Matt Spinler | 60efa37 | 2019-03-22 10:20:37 -0500 | [diff] [blame] | 26 | printf "\nEEPROM=/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a400.i2c-bus/i2c-11/11-0051/eeprom" >> ${DEST}/inventory |
Deepak Kodihalli | 075f437 | 2017-02-14 04:25:04 -0600 | [diff] [blame] | 27 | } |
Anthony Wilson | 989b85d | 2019-05-09 18:09:14 -0500 | [diff] [blame] | 28 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 29 | do_install:append:swift() { |
Anthony Wilson | 989b85d | 2019-05-09 18:09:14 -0500 | [diff] [blame] | 30 | DEST=${D}${inventory_envdir} |
Matt Spinler | ca5c2e5 | 2019-05-29 14:52:41 -0500 | [diff] [blame] | 31 | printf "\nEEPROM=/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a340.i2c-bus/i2c-8/8-0051/eeprom" >> ${DEST}/inventory |
Anthony Wilson | 989b85d | 2019-05-09 18:09:14 -0500 | [diff] [blame] | 32 | } |
Santosh Puranik | 7115655 | 2020-03-20 21:11:30 +0530 | [diff] [blame] | 33 | |
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 34 | do_install:append:witherspoon-tacoma() { |
Santosh Puranik | 7115655 | 2020-03-20 21:11:30 +0530 | [diff] [blame] | 35 | DEST=${D}${inventory_envdir} |
| 36 | printf "FRUS=BMC,ETHERNET" > ${DEST}/inventory |
| 37 | printf "\nPATHS=/system/chassis/motherboard/bmc,/system/chassis/motherboard/bmc/eth0" >> ${DEST}/inventory |
| 38 | printf "\nEEPROM=/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a600.i2c-bus/i2c-11/11-0051/eeprom" >> ${DEST}/inventory |
| 39 | } |
| 40 | |