From 6714373f115a916f5bd61bd96824f06d657f7bb1 Mon Sep 17 00:00:00 2001 From: Zane Shelley Date: Tue, 23 Mar 2021 17:08:45 -0500 Subject: Rearranged openpower-hw-diags recipe for clarity This file was a bit disorganized and was updated to follow the formula of other recipes. Change-Id: Iddccddd5c463f08540fc61051bf4a67a577a0d89 Signed-off-by: Zane Shelley --- .../logging/openpower-hw-diags_git.bb | 24 ++++++++++++++-------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'meta-openpower') diff --git a/meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb b/meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb index fdcff05f1..94cae40ec 100644 --- a/meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb +++ b/meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb @@ -1,22 +1,28 @@ -inherit meson systemd +HOMEPAGE = "https://github.com/openbmc/openpower-hw-diags" +SUMMARY = "Hardware Diagnostics for POWER Systems" + +DESCRIPTION = \ + "In the event of a system fatal error reported by the internal system \ + hardware (processor chips, memory chips, I/O chips, system memory, etc.), \ + POWER Systems have the ability to diagnose the root cause of the failure \ + and perform any service action needed to avoid repeated system failures." -SUMMARY = "ATTN and HwDiags Support" -DESCRIPTION = "Attention Handler and Hardware Diagnostics" +PV = "0.1+git${SRCPV}" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" -SRC_URI = "git://github.com/openbmc/openpower-hw-diags" +inherit meson systemd -SYSTEMD_SERVICE_${PN} = "attn_handler.service" -PV = "0.1+git${SRCPV}" +S = "${WORKDIR}/git" + +SRC_URI = "git://github.com/openbmc/openpower-hw-diags" SRCREV = "0b8368cb0aa251032eb18b5c938d009e27f0b152" -S = "${WORKDIR}/git" +SYSTEMD_SERVICE_${PN} = "attn_handler.service" +FILES_${PN} += "${UNITDIR}/attn_handler.service" DEPENDS = "boost libgpiod pdbg phosphor-logging sdbusplus openpower-libhei \ nlohmann-json" -FILES_${PN} += "${UNITDIR}/attn_handler.service" - # This is required so that libhei is installed with the chip data files. RDEPENDS_${PN} += "openpower-libhei" -- cgit v1.2.3