blob: 3d7c94e78f7a2be2a8160557e1882638d1712b21 [file] [log] [blame]
William A. Kennington III580e9c22020-04-13 13:18:11 -07001DESCRIPTION = "phosphor-ipmi-flash config to update without verifying the image"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
4
William A. Kennington III82de4782020-06-01 15:29:29 -07005SRC_URI += "file://noverify-bmc-update.service"
William A. Kennington III580e9c22020-04-13 13:18:11 -07006SRC_URI += "file://noverify-bmc-verify.service"
7SRC_URI += "file://config-bmc.json"
8
Patrick Williams12fc9392021-08-06 09:16:53 -05009SYSTEMD_SERVICE:${PN} += "noverify-bmc-update.service"
10SYSTEMD_SERVICE:${PN} += "noverify-bmc-verify.service"
Ed Tanous9936f862022-09-19 09:13:20 -070011
12inherit systemd
William A. Kennington III580e9c22020-04-13 13:18:11 -070013
14do_install() {
15 install -d ${D}${datadir}/phosphor-ipmi-flash
16 install -m 0644 ${WORKDIR}/config-bmc.json ${D}${datadir}/phosphor-ipmi-flash
William A. Kennington III580e9c22020-04-13 13:18:11 -070017 install -d ${D}${systemd_system_unitdir}
William A. Kennington III82de4782020-06-01 15:29:29 -070018 install -m 0644 ${WORKDIR}/noverify-bmc-update.service ${D}${systemd_system_unitdir}
William A. Kennington III580e9c22020-04-13 13:18:11 -070019 install -m 0644 ${WORKDIR}/noverify-bmc-verify.service ${D}${systemd_system_unitdir}
20}
Ed Tanous9936f862022-09-19 09:13:20 -070021
22FILES:${PN} += "${datadir}/phosphor-ipmi-flash/config-bmc.json"