1SUMMARY = "Phosphor OpenBMC mori Firmware Upgrade Command" 2DESCRIPTION = "Phosphor OpenBMC mori Firmware Upgrade Comman Daemon" 3LICENSE = "Apache-2.0" 4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" 5DEPENDS:append = " systemd phosphor-ipmi-flash" 6PR = "r1" 7 8SRC_URI = " \ 9 file://mori-fw.sh \ 10 file://mori-fw-ver.service \ 11 file://mori-fw-ver.sh \ 12 file://mori-lib.sh \ 13" 14 15SYSTEMD_SERVICE:${PN} = "mori-fw-ver.service" 16 17inherit systemd obmc-phosphor-systemd 18 19do_install () { 20 install -d ${D}${sbindir} 21 install -d ${D}${libexecdir}/${PN} 22 install -m 0755 ${WORKDIR}/mori-fw.sh ${D}${sbindir}/mori-fw.sh 23 install -m 0755 ${WORKDIR}/mori-fw-ver.sh \ 24 ${D}${libexecdir}/${PN}/mori-fw-ver.sh 25 install -m 0755 ${WORKDIR}/mori-lib.sh ${D}${libexecdir}/${PN}/mori-lib.sh 26 install -d ${D}${systemd_system_unitdir} 27 install -m 0644 ${WORKDIR}/mori-fw-ver.service ${D}${systemd_system_unitdir} 28} 29 30RDEPENDS:${PN}:append = " libsystemd bash" 31