diff options
| author | Tom Tung <shes050117@gmail.com> | 2022-12-22 16:46:50 +0300 |
|---|---|---|
| committer | Tom Tung <shes050117@gmail.com> | 2022-12-28 07:28:15 +0300 |
| commit | e849b5fc959153aa7a9915be828bec9bc200591d (patch) | |
| tree | df6570320d30ed2cdc41dc9393dbf82af12b03a3 /meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt | |
| parent | c0060a74e0e65adc36eac80685f51d4720fc7072 (diff) | |
| download | openbmc-e849b5fc959153aa7a9915be828bec9bc200591d.tar.xz | |
meta-google: x86-power-control: use gbmc-psu-hardreset to reset chassis
This patch unifies the way to reset chassis for gBMC platforms. Note
that we can still customize this in the meta machine layer if needed.
Tested:
```
// from build dir:
cat tmp/work/*/x86-power-control/*/package/lib/systemd/system/chassis-system-reset.service
[Unit]
Description=System unit to hard reset or system reset chassis
Conflicts=xyz.openbmc_project.psusensor.service
Wants=gbmc-psu-hardreset.target
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=true
[Install]
WantedBy=chassis-system-reset.target
// scp the service files from build directory to bmc.
// From bmc:
bmc:~# systemctl start chassis-system-reset.service
bmc:~# Timeout, server xxx not responding.
```
Google-Bug-Id: 263450334
Signed-off-by: Tom Tung <tomtung@google.com>
Change-Id: I2c877324482afff0d41129db5d0340d44d9352d1
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt')
0 files changed, 0 insertions, 0 deletions
