Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 1 | # To add another RMCPP interface, add similar lines to the |
| 2 | # following lines in a bbappend: |
| 3 | # |
| 4 | # ALT_RMCPP_IFACE = "eth1" |
| 5 | # SYSTEMD_SERVICE:${PN} += " \ |
| 6 | # ${PN}@${ALT_RMCPP_IFACE}.service \ |
| 7 | # ${PN}@${ALT_RMCPP_IFACE}.socket \ |
| 8 | # " |
| 9 | # Also, be sure to enable a corresponding entry in the channel |
| 10 | # config file with the same 'name' as the interfaces above |
| 11 | # Override the default phosphor-ipmi-config.bb with a bbappend |
Tom Joseph | 7b82774 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 12 | SUMMARY = "Phosphor Network IPMI Daemon" |
| 13 | DESCRIPTION = "Daemon to support IPMI protocol over network" |
| 14 | HOMEPAGE = "https://github.com/openbmc/phosphor-net-ipmid" |
Brad Bishop | 75f0387 | 2018-11-03 09:41:57 -0700 | [diff] [blame] | 15 | LICENSE = "Apache-2.0" |
| 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
Vernon Mauery | 3fcd42e | 2019-04-12 14:06:06 -0700 | [diff] [blame] | 17 | DEPENDS += "cli11" |
Patrick Williams | 0450a02 | 2022-10-07 21:23:47 -0500 | [diff] [blame] | 18 | DEPENDS += "libmapper" |
Tom Joseph | 7b82774 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 19 | DEPENDS += "systemd" |
| 20 | DEPENDS += "phosphor-ipmi-host" |
Andrew Geissler | 69674ac | 2022-12-08 12:40:56 -0600 | [diff] [blame] | 21 | SRCREV = "02d13a26b6f60dbb41ac38aed3d12a99555fc302" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 22 | PV = "1.0+git${SRCPV}" |
| 23 | PR = "r1" |
Brad Bishop | ea41343 | 2020-08-10 20:18:26 -0400 | [diff] [blame] | 24 | |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 25 | SRC_URI += "git://github.com/openbmc/phosphor-net-ipmid;branch=master;protocol=https" |
Tom Joseph | 7b82774 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 26 | |
| 27 | S = "${WORKDIR}/git" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 28 | # install parameterized service and socket files |
| 29 | SYSTEMD_SERVICE:${PN} = " \ |
| 30 | ${PN}@${RMCPP_IFACE}.service \ |
| 31 | ${PN}@${RMCPP_IFACE}.socket \ |
| 32 | " |
| 33 | |
| 34 | inherit meson pkgconfig |
| 35 | inherit systemd |
Tom Joseph | 7b82774 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 36 | |
George Liu | 9d1e1c2 | 2022-08-08 10:39:05 +0800 | [diff] [blame] | 37 | EXTRA_OEMESON = " \ |
| 38 | -Dtests=disabled \ |
| 39 | " |
| 40 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 41 | RRECOMMENDS:${PN} = "pam-ipmi" |
| 42 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 43 | FILES:${PN} += " \ |
Vernon Mauery | 3313659 | 2019-03-22 12:25:14 -0700 | [diff] [blame] | 44 | ${systemd_system_unitdir}/${PN}@.service \ |
| 45 | ${systemd_system_unitdir}/${PN}@.socket \ |
Tom Joseph | 62b03f2 | 2017-01-27 14:11:58 +0530 | [diff] [blame] | 46 | " |
Vernon Mauery | 3313659 | 2019-03-22 12:25:14 -0700 | [diff] [blame] | 47 | |
| 48 | # If RMCPP_IFACE is not set by bbappend, set it to default |
| 49 | DEFAULT_RMCPP_IFACE = "eth0" |
| 50 | RMCPP_IFACE ?= "${DEFAULT_RMCPP_IFACE}" |