blob: 823bea77e3f3974caf661d592e1da65ffa3a3094 [file] [log] [blame]
SUMMARY = "Altra Boot Progress Handling Service"
DESCRIPTION = "OpenBMC Altra Boot Progress Handling Daemon"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit systemd
inherit obmc-phosphor-systemd
DEPENDS += "systemd"
RDEPENDS:${PN} += "libsystemd"
RDEPENDS:${PN} += "bash"
SRC_URI = " \
file://ampere_boot_progress.sh \
"
SYSTEMD_PACKAGES = "${PN}"
HOST_ON_RESET_HOSTTMPL = "ampere-boot-progress.service"
HOST_ON_RESET_HOSTINSTMPL = "ampere-boot-progress.service"
HOST_ON_RESET_HOSTTGTFMT = "obmc-host-already-on@{0}.target"
HOST_ON_RESET_HOSTFMT = "../${HOST_ON_RESET_HOSTTMPL}:${HOST_ON_RESET_HOSTTGTFMT}.requires/${HOST_ON_RESET_HOSTINSTMPL}"
SYSTEMD_LINK:${PN} += "${@compose_list_zip(d, 'HOST_ON_RESET_HOSTFMT', 'OBMC_HOST_INSTANCES')}"
SYSTEMD_SERVICE:${PN} += "${HOST_ON_RESET_HOSTTMPL}"
do_install () {
install -d ${D}${sbindir}
install -m 0755 ${WORKDIR}/ampere_boot_progress.sh ${D}${sbindir}/
}