summaryrefslogtreecommitdiff
path: root/meta-google/recipes-x86
AgeCommit message (Collapse)AuthorFilesLines
2022-12-28meta-google: x86-power-control: use gbmc-psu-hardreset to reset chassisTom Tung2-0/+13
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