diff options
author | Thang Q. Nguyen <thang@os.amperecomputing.com> | 2023-07-26 12:59:29 +0300 |
---|---|---|
committer | Thang Q. Nguyen <thang@os.amperecomputing.com> | 2023-07-28 04:40:17 +0300 |
commit | 5c4b9f29e5eeb44a2d97bc6cebf34cf1e2cc9088 (patch) | |
tree | 8fad164000b18f8d9facbf6386ea3ce133866107 | |
parent | 1ee5f9dd1988c1045b069c2c8caf056d215cd149 (diff) | |
download | openbmc-5c4b9f29e5eeb44a2d97bc6cebf34cf1e2cc9088.tar.xz |
meta-ampere: gpio: various fixes
Remove unused service files and add missing call for
ampere-host-reboot@.service.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: If25d92343a23c313705213fba8f13446dcdb933e
4 files changed, 1 insertions, 19 deletions
diff --git a/meta-ampere/meta-jade/recipes-phosphor/gpio/phosphor-gpio-monitor/ampere_hightemp_start@.service b/meta-ampere/meta-jade/recipes-phosphor/gpio/phosphor-gpio-monitor/ampere_hightemp_start@.service deleted file mode 100644 index ff11d6ec26..0000000000 --- a/meta-ampere/meta-jade/recipes-phosphor/gpio/phosphor-gpio-monitor/ampere_hightemp_start@.service +++ /dev/null @@ -1,6 +0,0 @@ -[Unit] -Description=Ampere Computing LLC HighTempt event - -[Service] -Restart=no -ExecStart=/usr/sbin/ampere_add_redfishevent.sh OpenBMC.0.1.AmpereEvent.Warning "CPU%i HighTemp asserted" diff --git a/meta-ampere/meta-jade/recipes-phosphor/gpio/phosphor-gpio-monitor/ampere_hightemp_stop@.service b/meta-ampere/meta-jade/recipes-phosphor/gpio/phosphor-gpio-monitor/ampere_hightemp_stop@.service deleted file mode 100644 index 16d372db1e..0000000000 --- a/meta-ampere/meta-jade/recipes-phosphor/gpio/phosphor-gpio-monitor/ampere_hightemp_stop@.service +++ /dev/null @@ -1,6 +0,0 @@ -[Unit] -Description=Ampere Computing LLC HighTempt event - -[Service] -Restart=no -ExecStart=/usr/sbin/ampere_add_redfishevent.sh OpenBMC.0.1.AmpereEvent.OK "CPU%i HighTemp deasserted" diff --git a/meta-ampere/meta-jade/recipes-phosphor/gpio/phosphor-gpio-monitor/ampere_overtemp@.service b/meta-ampere/meta-jade/recipes-phosphor/gpio/phosphor-gpio-monitor/ampere_overtemp@.service deleted file mode 100644 index a3efc9ff99..0000000000 --- a/meta-ampere/meta-jade/recipes-phosphor/gpio/phosphor-gpio-monitor/ampere_overtemp@.service +++ /dev/null @@ -1,7 +0,0 @@ -[Unit] -Description=Ampere Computing LLC Overtemp event - -[Service] -Restart=no -ExecStart=/bin/sh -c "touch /tmp/fault_overtemp && obmcutil chassisoff" -ExecStartPost=/bin/sh -c "ampere_add_redfishevent.sh OpenBMC.0.1.CPUThermalTrip.Critical %i && sleep 10 && rm /tmp/fault_overtemp" diff --git a/meta-ampere/meta-mitchell/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend b/meta-ampere/meta-mitchell/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend index 5435b45978..32ce4b919a 100644 --- a/meta-ampere/meta-mitchell/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend +++ b/meta-ampere/meta-mitchell/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend @@ -8,6 +8,7 @@ SRC_URI += " \ SYSTEMD_SERVICE:${PN}-monitor += " \ ampere-host-shutdown-ack@.service \ + ampere-host-reboot@.service \ " FILES:${PN}-monitor += " \ |