Removed undefined variable from openpower-hw-diags recipe
During inspection of another commit, we found that this recipe was using
the variable ${UNITDIR}, which is not defined anywhere. Instead, it was
recommended to use ${systemd_system_unitdir}. However, after
investigating why we did not see any errors in CI or bitbake builds we
found that when we inherit systemd there is some code that automatically
adds /lib/systemd/system to FILES. So this line in the recipe with the
undefined variable is actually moot and can be removed.
Change-Id: I32713031922d95af3eccde6be0047afff1c57758
Signed-off-by: Zane Shelley <zshelle@us.ibm.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 94cae40..0948fc6 100644
--- a/meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb
+++ b/meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb
@@ -19,7 +19,6 @@
SRCREV = "0b8368cb0aa251032eb18b5c938d009e27f0b152"
SYSTEMD_SERVICE_${PN} = "attn_handler.service"
-FILES_${PN} += "${UNITDIR}/attn_handler.service"
DEPENDS = "boost libgpiod pdbg phosphor-logging sdbusplus openpower-libhei \
nlohmann-json"