1DESCRIPTION = "phosphor-ipmi-flash config to update without verifying the image"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
4
5SRC_URI += "file://noverify-bmc-update.service"
6SRC_URI += "file://noverify-bmc-verify.service"
7SRC_URI += "file://config-bmc.json"
8
9SYSTEMD_SERVICE:${PN} += "noverify-bmc-update.service"
10SYSTEMD_SERVICE:${PN} += "noverify-bmc-verify.service"
11
12inherit systemd
13
14do_install() {
15  install -d ${D}${datadir}/phosphor-ipmi-flash
16  install -m 0644 ${WORKDIR}/config-bmc.json ${D}${datadir}/phosphor-ipmi-flash
17  install -d ${D}${systemd_system_unitdir}
18  install -m 0644 ${WORKDIR}/noverify-bmc-update.service ${D}${systemd_system_unitdir}
19  install -m 0644 ${WORKDIR}/noverify-bmc-verify.service ${D}${systemd_system_unitdir}
20}
21
22FILES:${PN} += "${datadir}/phosphor-ipmi-flash/config-bmc.json"
23