openpower-hw-diags: srcrev bump 415860077f..e043f954b8

Andrew Geissler (2):
      remove OSStart as indication host is running
      systemd: no installation in templated targets

Patrick Williams (1):
      clang-format: copy latest and re-format

Includes the needed service installation.

Change-Id: I24f4effce37ec9f50ee4009c4a73be49fe1d25dd
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
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 f109164..adc094b 100644
--- a/meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb
+++ b/meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb
@@ -15,7 +15,7 @@
 PV = "0.1+git${SRCPV}"
 
 SRC_URI = "git://github.com/openbmc/openpower-hw-diags;branch=master;protocol=https"
-SRCREV = "415860077f72b12e31894d2fdc76ac1c064c6fff"
+SRCREV = "e043f954b8f1742b294a2f50eb7ad59897f5d7e5"
 
 S = "${WORKDIR}/git"
 
@@ -36,3 +36,14 @@
 # Don't build CI tests
 EXTRA_OEMESON = "-Dtests=disabled"
 
+pkg_postinst:${PN}() {
+    mkdir -p $D$systemd_system_unitdir/obmc-host-startmin@0.target.wants
+    LINK="$D$systemd_system_unitdir/obmc-host-startmin@0.target.wants/attn_handler.service"
+    TARGET="../attn_handler.service"
+    ln -s $TARGET $LINK
+}
+
+pkg_prerm:${PN}() {
+    LINK="$D$systemd_system_unitdir/obmc-host-startmin@0.target.wants/attn_handler.service"
+    rm $LINK
+}