summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-jade
diff options
context:
space:
mode:
authorThang Tran <thuutran@amperecomputing.com>2022-03-18 10:00:52 +0300
committerThang Q. Nguyen <thang@os.amperecomputing.com>2022-03-18 11:01:22 +0300
commit0d771d2303129cc0b333c0d34db7c9ec2aacd951 (patch)
treea8034a60f50e3b8c9c6ba655411096fce4043cff /meta-ampere/meta-jade
parent05d7bed2f1ca43c12291fb36294fd89d8e90d34e (diff)
downloadopenbmc-0d771d2303129cc0b333c0d34db7c9ec2aacd951.tar.xz
meta-ampere: remove creating host@%i-on file
The /run/openbmc/host@0-on file is created/removed by phosphor-state-manager, platform should not touch to this file. Host-on-host-check service is called by obmc-host-startmin target, it is not depended on the /run/openbmc/host@0-on file. This file is only used during BMC booting phase. Tested: 1. Turn off/on the host 100 times. 2. Check the sel log. ipmitool sel list 3. BMC does not display any log relate to over threshold. 4. Check the host-on-check service is called before host'state is running Signed-off-by: Thang Tran <thuutran@amperecomputing.com> Change-Id: I1ec90a00a7685007e31b89876ff2a5d57191fc53
Diffstat (limited to 'meta-ampere/meta-jade')
-rw-r--r--meta-ampere/meta-jade/recipes-ampere/platform/mtjade-gpio-config/ampere_gpio_utils.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta-ampere/meta-jade/recipes-ampere/platform/mtjade-gpio-config/ampere_gpio_utils.sh b/meta-ampere/meta-jade/recipes-ampere/platform/mtjade-gpio-config/ampere_gpio_utils.sh
index 67e601c35d..28c67b5687 100644
--- a/meta-ampere/meta-jade/recipes-ampere/platform/mtjade-gpio-config/ampere_gpio_utils.sh
+++ b/meta-ampere/meta-jade/recipes-ampere/platform/mtjade-gpio-config/ampere_gpio_utils.sh
@@ -10,7 +10,6 @@ function usage() {
set_gpio_power_off() {
echo "Setting GPIO before Power off"
- rm -f /run/openbmc/host@0-on
}
set_gpio_power_on() {