1a8c0af00SGrant WilliamsSUMMARY = "Phosphor OpenBMC mori Firmware Upgrade Command" 2a8c0af00SGrant WilliamsDESCRIPTION = "Phosphor OpenBMC mori Firmware Upgrade Comman Daemon" 3a8c0af00SGrant WilliamsLICENSE = "Apache-2.0" 4a8c0af00SGrant WilliamsLIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" 5aefbb65cSKyle NiemanDEPENDS:append = " systemd phosphor-ipmi-flash" 6aefbb65cSKyle NiemanPR = "r1" 7a8c0af00SGrant Williams 8a8c0af00SGrant WilliamsSRC_URI = " \ 9a8c0af00SGrant Williams file://mori-fw.sh \ 10a8c0af00SGrant Williams file://mori-fw-ver.service \ 11a8c0af00SGrant Williams file://mori-fw-ver.sh \ 12a8c0af00SGrant Williams file://mori-lib.sh \ 13a8c0af00SGrant Williams" 14a8c0af00SGrant Williams 15aefbb65cSKyle NiemanSYSTEMD_SERVICE:${PN} = "mori-fw-ver.service" 16aefbb65cSKyle Nieman 17aefbb65cSKyle Niemaninherit systemd obmc-phosphor-systemd 18a8c0af00SGrant Williams 19a8c0af00SGrant Williamsdo_install () { 20*86347becSKyle Nieman install -d ${D}${bindir} 21a8c0af00SGrant Williams install -d ${D}${libexecdir}/${PN} 22*86347becSKyle Nieman install -m 0755 ${WORKDIR}/mori-fw.sh ${D}${bindir}/mori-fw.sh 23aefbb65cSKyle Nieman install -m 0755 ${WORKDIR}/mori-fw-ver.sh \ 24aefbb65cSKyle Nieman ${D}${libexecdir}/${PN}/mori-fw-ver.sh 25a8c0af00SGrant Williams install -m 0755 ${WORKDIR}/mori-lib.sh ${D}${libexecdir}/${PN}/mori-lib.sh 26a8c0af00SGrant Williams install -d ${D}${systemd_system_unitdir} 27a8c0af00SGrant Williams install -m 0644 ${WORKDIR}/mori-fw-ver.service ${D}${systemd_system_unitdir} 28a8c0af00SGrant Williams} 29aefbb65cSKyle Nieman 30aefbb65cSKyle NiemanRDEPENDS:${PN}:append = " libsystemd bash" 31