William A. Kennington III | e076ee3 | 2020-04-13 13:18:11 -0700 | [diff] [blame] | 1 | DESCRIPTION = "phosphor-ipmi-flash config to update without verifying the image" |
| 2 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
| 4 | |
| 5 | inherit systemd |
| 6 | |
| 7 | SRC_URI += "file://noverify-bmc-verify.service" |
| 8 | SRC_URI += "file://config-bmc.json" |
| 9 | |
| 10 | SYSTEMD_SERVICE_${PN} += "noverify-bmc-verify.service" |
| 11 | FILES_${PN} += "${datadir}/phosphor-ipmi-flash/config-bmc.json" |
| 12 | |
| 13 | do_install() { |
| 14 | install -d ${D}${datadir}/phosphor-ipmi-flash |
| 15 | install -m 0644 ${WORKDIR}/config-bmc.json ${D}${datadir}/phosphor-ipmi-flash |
| 16 | |
| 17 | install -d ${D}${systemd_system_unitdir} |
| 18 | install -m 0644 ${WORKDIR}/noverify-bmc-verify.service ${D}${systemd_system_unitdir} |
| 19 | } |