Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 1 | LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=9aa91e13d644326bf281924212862184" |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
Ed Tanous | d9aea6f | 2019-01-11 16:26:13 -0800 | [diff] [blame] | 3 | DEPENDS += "systemd" |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 4 | SRCREV = "c3939dac2c060651361fc71516806f9ab8c38901" |
| 5 | PV = "1.8.18+git${SRCPV}" |
Ed Tanous | d9aea6f | 2019-01-11 16:26:13 -0800 | [diff] [blame] | 6 | |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 7 | SRC_URI = "git://github.com/ipmitool/ipmitool.git;protocol=https;branch=master" |
Alex Schendel | 6a69fe4 | 2023-06-20 19:42:53 -0700 | [diff] [blame] | 8 | |
| 9 | # Temporary patch for https://codeberg.org/IPMITool/ipmitool/pulls/1 |
| 10 | SRC_URI += " \ |
| 11 | file://0001-Fru-Fix-edit-field-not-checking-area-existence.patch \ |
| 12 | " |
| 13 | |
Vernon Mauery | e0b32cb | 2020-03-04 11:02:02 -0800 | [diff] [blame] | 14 | # TODO: when a new company joins the OpenBMC project by signing |
| 15 | # a CLA, if they have an enterprise number on file with the |
| 16 | # IANA, the versioned file, $PWD/ipmitool/enterprise-numbers |
| 17 | # needs to be updated to add their entry. The canonical |
| 18 | # version of the file is locatede here: |
| 19 | # https://www.iana.org/assignments/enterprise-numbers |
| 20 | # |
| 21 | # This file is manually downloaded so it can be versioned |
| 22 | # instead of having the makefile download it during do_compile |
Vernon Mauery | 5896a23 | 2019-04-23 15:31:51 -0700 | [diff] [blame] | 23 | SRC_URI += " \ |
Vernon Mauery | e0b32cb | 2020-03-04 11:02:02 -0800 | [diff] [blame] | 24 | file://enterprise-numbers \ |
Vernon Mauery | 5896a23 | 2019-04-23 15:31:51 -0700 | [diff] [blame] | 25 | " |
| 26 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 27 | S = "${WORKDIR}/git" |
| 28 | |
| 29 | EXTRA_OECONF:append = " --disable-ipmishell --enable-intf-dbus DEFAULT_INTF=dbus " |
| 30 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 31 | do_compile:prepend() { |
Vernon Mauery | e0b32cb | 2020-03-04 11:02:02 -0800 | [diff] [blame] | 32 | # copy the SRC_URI version of enterprise-numbers |
| 33 | # to the build dir to prevent a fetch |
James Feist | 1984127 | 2020-05-01 14:35:25 -0700 | [diff] [blame] | 34 | mkdir -p "${WORKDIR}/build" |
Vernon Mauery | e0b32cb | 2020-03-04 11:02:02 -0800 | [diff] [blame] | 35 | cp "${WORKDIR}/enterprise-numbers" "${WORKDIR}/build/enterprise-numbers" |
| 36 | } |
| 37 | |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 38 | # make sure that the enterprise-numbers file gets installed in the root FS |
Patrick Williams | c7d8802 | 2023-03-24 09:39:28 -0500 | [diff] [blame] | 39 | FILES:${PN} += "${datadir}/misc/enterprise-numbers" |