blob: 4fa3ff73f8edc28515f4f074fbdce0a0b6a6a6b0 [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
5inherit systemd
6
William A. Kennington III82de4782020-06-01 15:29:29 -07007SRC_URI += "file://noverify-bmc-update.service"
William A. Kennington III580e9c22020-04-13 13:18:11 -07008SRC_URI += "file://noverify-bmc-verify.service"
9SRC_URI += "file://config-bmc.json"
10
Patrick Williams12fc9392021-08-06 09:16:53 -050011SYSTEMD_SERVICE:${PN} += "noverify-bmc-update.service"
12SYSTEMD_SERVICE:${PN} += "noverify-bmc-verify.service"
13FILES:${PN} += "${datadir}/phosphor-ipmi-flash/config-bmc.json"
William A. Kennington III580e9c22020-04-13 13:18:11 -070014
15do_install() {
16 install -d ${D}${datadir}/phosphor-ipmi-flash
17 install -m 0644 ${WORKDIR}/config-bmc.json ${D}${datadir}/phosphor-ipmi-flash
18
19 install -d ${D}${systemd_system_unitdir}
William A. Kennington III82de4782020-06-01 15:29:29 -070020 install -m 0644 ${WORKDIR}/noverify-bmc-update.service ${D}${systemd_system_unitdir}
William A. Kennington III580e9c22020-04-13 13:18:11 -070021 install -m 0644 ${WORKDIR}/noverify-bmc-verify.service ${D}${systemd_system_unitdir}
22}