Brad Bishop | 21f39fd | 2017-01-17 09:14:15 -0500 | [diff] [blame] | 1 | SUMMARY = "Phosphor IPMI Inventory Plugin" |
| 2 | DESCRIPTION = "A Phosphor IPMI plugin that updates inventory." |
Chris Austen | 764ae43 | 2015-11-01 22:27:34 -0600 | [diff] [blame] | 3 | PR = "r1" |
Patrick Venture | f697380 | 2018-10-01 20:56:22 -0700 | [diff] [blame] | 4 | PV = "1.0+git${SRCPV}" |
Chris Austen | 764ae43 | 2015-11-01 22:27:34 -0600 | [diff] [blame] | 5 | |
Matthew Barth | fc77ec4 | 2016-10-19 16:00:49 -0500 | [diff] [blame] | 6 | inherit autotools pkgconfig |
Brad Bishop | 1d525fa | 2016-08-17 20:27:37 -0400 | [diff] [blame] | 7 | inherit obmc-phosphor-systemd |
Tom Joseph | dcdc8ea | 2017-02-01 19:47:27 +0530 | [diff] [blame] | 8 | inherit obmc-phosphor-ipmiprovider-symlink |
Brad Bishop | 2f63e8c | 2017-01-28 13:00:52 -0500 | [diff] [blame] | 9 | inherit phosphor-ipmi-fru |
Andrew Geissler | 35c7c07 | 2020-04-04 07:31:23 +0000 | [diff] [blame] | 10 | inherit python3native |
Chris Austen | 764ae43 | 2015-11-01 22:27:34 -0600 | [diff] [blame] | 11 | |
Patrick Williams | fb700fd | 2020-04-03 15:48:30 -0500 | [diff] [blame] | 12 | require ${BPN}.inc |
Brad Bishop | 5bb8e37 | 2017-01-17 10:10:02 -0500 | [diff] [blame] | 13 | |
Brad Bishop | cbac7fc | 2016-06-13 12:53:41 -0400 | [diff] [blame] | 14 | DEPENDS += " \ |
Brad Bishop | 2f63e8c | 2017-01-28 13:00:52 -0500 | [diff] [blame] | 15 | virtual/phosphor-ipmi-fru-inventory \ |
Deepak Kodihalli | 48be0fd | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 16 | virtual/phosphor-ipmi-fru-properties \ |
Brad Bishop | cbac7fc | 2016-06-13 12:53:41 -0400 | [diff] [blame] | 17 | systemd \ |
Deepak Kodihalli | c11cbc5 | 2017-02-16 07:50:37 -0600 | [diff] [blame] | 18 | sdbusplus \ |
Andrew Geissler | 35c7c07 | 2020-04-04 07:31:23 +0000 | [diff] [blame] | 19 | ${PYTHON_PN}-mako-native \ |
| 20 | ${PYTHON_PN}-pyyaml-native \ |
Brad Bishop | ceb1c9a | 2017-01-17 10:07:14 -0500 | [diff] [blame] | 21 | phosphor-ipmi-host \ |
Matthew Barth | fc77ec4 | 2016-10-19 16:00:49 -0500 | [diff] [blame] | 22 | phosphor-mapper \ |
| 23 | autoconf-archive-native \ |
Patrick Venture | 5508db2 | 2018-10-16 19:50:55 -0700 | [diff] [blame] | 24 | phosphor-logging \ |
Patrick Venture | e4ccd82 | 2019-03-26 11:07:32 -0700 | [diff] [blame] | 25 | cli11 \ |
Brad Bishop | cbac7fc | 2016-06-13 12:53:41 -0400 | [diff] [blame] | 26 | " |
Chris Austen | 764ae43 | 2015-11-01 22:27:34 -0600 | [diff] [blame] | 27 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 28 | RDEPENDS:${PN} += "bash" |
William A. Kennington III | 147a795 | 2020-03-30 12:03:28 -0700 | [diff] [blame] | 29 | |
| 30 | SRC_URI += "file://of-name-to-eeprom.sh" |
| 31 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 32 | SYSTEMD_SERVICE:${PN} += "obmc-read-eeprom@.service" |
Chris Austen | 764ae43 | 2015-11-01 22:27:34 -0600 | [diff] [blame] | 33 | |
Chris Austen | 764ae43 | 2015-11-01 22:27:34 -0600 | [diff] [blame] | 34 | S = "${WORKDIR}/git" |
| 35 | |
Tom Joseph | dcdc8ea | 2017-02-01 19:47:27 +0530 | [diff] [blame] | 36 | HOSTIPMI_PROVIDER_LIBRARY += "libstrgfnhandler.so" |
| 37 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 38 | FILES:${PN} += "${bindir}/of-name-to-eeprom.sh" |
| 39 | FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" |
| 40 | FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}" |
| 41 | FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV} ${libdir}/ipmid-providers/*.la" |
Brad Bishop | 2f63e8c | 2017-01-28 13:00:52 -0500 | [diff] [blame] | 42 | |
Deepak Kodihalli | 48be0fd | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 43 | EXTRA_OECONF = " \ |
| 44 | YAML_GEN=${STAGING_DIR_NATIVE}${config_datadir}/config.yaml \ |
Ratan Gupta | 338899a | 2017-03-30 14:32:02 +0530 | [diff] [blame] | 45 | PROP_YAML=${STAGING_DIR_NATIVE}${properties_datadir}/extra-properties.yaml \ |
Deepak Kodihalli | 48be0fd | 2017-02-20 04:55:20 -0600 | [diff] [blame] | 46 | " |
William A. Kennington III | 147a795 | 2020-03-30 12:03:28 -0700 | [diff] [blame] | 47 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 48 | do_install:append() { |
William A. Kennington III | 147a795 | 2020-03-30 12:03:28 -0700 | [diff] [blame] | 49 | install -d ${D}${bindir} |
| 50 | install -m 0755 ${WORKDIR}/of-name-to-eeprom.sh ${D}${bindir} |
| 51 | } |