Grant Williams | a2b5859 | 2022-06-07 16:14:36 -0500 | [diff] [blame^] | 1 | SUMMARY = "Phosphor OpenBMC Mori BIOS Firmware Upgrade Command" |
| 2 | DESCRIPTION = "Phosphor OpenBMC Mori 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 | |
| 11 | DEPENDS += "systemd" |
| 12 | DEPENDS += "phosphor-ipmi-flash" |
| 13 | RDEPENDS:${PN} += "libsystemd" |
| 14 | RDEPENDS:${PN} += "mori-fw" |
| 15 | PROVIDES += "virtual/bios-update" |
| 16 | RPROVIDES:${PN} += "virtual/bios-update" |
| 17 | |
| 18 | FILES:${PN} += "${datadir}/phosphor-ipmi-flash/config-bios.json" |
| 19 | |
| 20 | SRC_URI += " \ |
| 21 | file://phosphor-ipmi-flash-bios-update.service \ |
| 22 | file://config-bios.json \ |
| 23 | " |
| 24 | |
| 25 | SYSTEMD_PACKAGES = "${PN}" |
| 26 | SYSTEMD_SERVICE:${PN} += " \ |
| 27 | phosphor-ipmi-flash-bios-update.service \ |
| 28 | " |
| 29 | |
| 30 | do_install () { |
| 31 | install -d ${D}${datadir}/phosphor-ipmi-flash |
| 32 | install -m 0644 ${WORKDIR}/config-bios.json ${D}${datadir}/phosphor-ipmi-flash |
| 33 | install -d ${D}${systemd_system_unitdir} |
| 34 | install -m 0644 ${WORKDIR}/phosphor-ipmi-flash-bios-update.service ${D}${systemd_system_unitdir} |
| 35 | } |