From 344f0949442f7c92a7bfd9e8842f0f66d8d65d12 Mon Sep 17 00:00:00 2001 From: Zane Shelley Date: Wed, 24 Mar 2021 16:56:34 -0500 Subject: 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 --- meta-openpower/recipes-phosphor/logging/openpower-hw-diags_git.bb | 1 - 1 file changed, 1 deletion(-) (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 94cae40ec3..0948fc6575 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" -- cgit v1.2.3