Lancelot Kao | 4357d53 | 2021-02-22 15:20:35 -0600 | [diff] [blame] | 1 | SUMMARY = "Phosphor OpenBMC Kudo BIOS Firmware Upgrade Command" |
| 2 | DESCRIPTION = "Phosphor OpenBMC Kudo BIOS Firmware Upgrade Comman Daemon" |
| 3 | |
| 4 | PR = "r1" |
| 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 7 | |
| 8 | inherit systemd |
| 9 | inherit obmc-phosphor-systemd |
| 10 | |
Willy Tu | dec3caa | 2024-03-15 20:50:29 +0000 | [diff] [blame] | 11 | PROVIDES:append = " virtual/bios-update" |
| 12 | RPROVIDES:${PN}:append = " virtual/bios-update" |
| 13 | |
Lancelot Kao | 4357d53 | 2021-02-22 15:20:35 -0600 | [diff] [blame] | 14 | DEPENDS += "systemd" |
| 15 | DEPENDS += "phosphor-ipmi-flash" |
Mohaimen Alsamarai | f59d017 | 2021-08-17 09:34:22 -0500 | [diff] [blame] | 16 | RDEPENDS:${PN} += "libsystemd" |
| 17 | RDEPENDS:${PN} += "bash" |
Lancelot Kao | 4357d53 | 2021-02-22 15:20:35 -0600 | [diff] [blame] | 18 | |
Mohaimen Alsamarai | f59d017 | 2021-08-17 09:34:22 -0500 | [diff] [blame] | 19 | FILES:${PN} += "${datadir}/phosphor-ipmi-flash/config-bios.json" |
Lancelot Kao | 4357d53 | 2021-02-22 15:20:35 -0600 | [diff] [blame] | 20 | |
Ashwin Murali | 39041de | 2022-03-23 17:09:16 -0500 | [diff] [blame] | 21 | SRC_URI += " \ |
Lancelot Kao | 4357d53 | 2021-02-22 15:20:35 -0600 | [diff] [blame] | 22 | file://phosphor-ipmi-flash-bios-update.service \ |
| 23 | file://config-bios.json \ |
| 24 | " |
| 25 | |
| 26 | SYSTEMD_PACKAGES = "${PN}" |
Ashwin Murali | 39041de | 2022-03-23 17:09:16 -0500 | [diff] [blame] | 27 | SYSTEMD_SERVICE:${PN} += " \ |
Lancelot Kao | 4357d53 | 2021-02-22 15:20:35 -0600 | [diff] [blame] | 28 | phosphor-ipmi-flash-bios-update.service \ |
| 29 | " |
| 30 | |
| 31 | do_install () { |
| 32 | install -d ${D}${datadir}/phosphor-ipmi-flash |
| 33 | install -m 0644 ${WORKDIR}/config-bios.json ${D}${datadir}/phosphor-ipmi-flash |
| 34 | install -d ${D}${systemd_system_unitdir} |
| 35 | install -m 0644 ${WORKDIR}/phosphor-ipmi-flash-bios-update.service ${D}${systemd_system_unitdir} |
| 36 | } |