summaryrefslogtreecommitdiff
path: root/meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2021-03-25 00:56:34 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2021-03-25 23:17:56 +0300
commit344f0949442f7c92a7bfd9e8842f0f66d8d65d12 (patch)
treee8186c9b7a3a6b5257a017781f7d8628b569c345 /meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb
parent5d5a0ea7fefba98f2c3ac68a2a810f5cdac9b9c4 (diff)
downloadopenbmc-344f0949442f7c92a7bfd9e8842f0f66d8d65d12.tar.xz
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>
Diffstat (limited to 'meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb')
-rw-r--r--meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb1
1 files changed, 0 insertions, 1 deletions
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 94cae40ec..0948fc657 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 @@ SRC_URI = "git://github.com/openbmc/openpower-hw-diags"
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"