diff options
author | Shantappa Teekappanavar <sbteeks@yahoo.com> | 2021-09-01 01:49:10 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2021-09-11 00:07:40 +0300 |
commit | 2ffa05ede643a6bd1c9722f56f0f7d99e120aed5 (patch) | |
tree | 1e2e5900193fbd88f30a01524e980c1749eb97c3 /meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb | |
parent | 47acdb1e0d19b920c39f0cc470822fdac4ecb11a (diff) | |
download | openbmc-2ffa05ede643a6bd1c9722f56f0f7d99e120aed5.tar.xz |
Remove watchdog-timeout service on p10bmc systems
watchdog-timeout service is needed only if the PHAL machine features
is not present/enabled. In p10bmc is PHAL machine features based, so
removing the watchdog-timeout service.
This commit:
- Does not install openpower-debug-collector-watchdog-timeout@.service
file in the /lib/systemd/system directory for PHAL machine features
based systems
- Removes openpower-debug-collector-watchdog-timeout@0.service link to
the service file, openpower-debug-collector-watchdog-timeout@.service,
on PHAL machine features based systems
Testing:
Installed the image on p10bmc system and verified that the systemd
service file openpower-debug-collector-watchdog-timeout@.service was
not created, and the link file,
openpower-debug-collector-watchdog-timeout@0.service, also was not
created.
Signed-off-by: Shantappa Teekappanavar <sbteeks@yahoo.com>
Change-Id: I7bafd9b7e232043cddbcce76af51fd457169f759
Diffstat (limited to 'meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb')
-rw-r--r-- | meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb b/meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb index 4a5aa3feb5..68965af0a1 100644 --- a/meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb +++ b/meta-openpower/recipes-phosphor/debug/openpower-debug-collector_git.bb @@ -21,7 +21,11 @@ S = "${WORKDIR}/git" # This provides below applications that are called into in case # of host checkstop, host watchdog and host watchdog-timeout respectively. -APPS = "checkstop watchdog watchdog-timeout" +APPS = " \ + checkstop \ + watchdog \ + ${@bb.utils.contains('OBMC_MACHINE_FEATURES', 'phal', '', 'watchdog-timeout', d)} \ + " DEBUG_TMPL = "openpower-debug-collector-{0}@.service" SYSTEMD_SERVICE:${PN} += "${@compose_list(d, 'DEBUG_TMPL', 'APPS')}" |