commit | 09696fc31cb5ddbcc5b19d8bdb491a08c5db55e9 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Thu Apr 07 13:23:44 2022 -0700 |
committer | William A. Kennington III <wak@google.com> | Sat Apr 16 00:30:29 2022 +0000 |
tree | bddfa43b3647f9eff670b9ba5f38a8c9f62aad4f | |
parent | ff50d27fb7f718805e15c5cdc586a6e65b929540 [diff] [blame] |
meta-quanta: Add hotswap ordering We want it to be possible to order units prior to the powercycle event if state needs to be persisted prior to a powercycle. We can also remove the time_delay functionality as this is now provided globally by the gbmc-psu-hardreset.target. Change-Id: I15b33e120be0246dd821d0dfe9d61b5aae7d1492 Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/meta-quanta/meta-gbs/recipes-gbs/hotswap-power-cycle/files/hotswap-power-cycle.service b/meta-quanta/meta-gbs/recipes-gbs/hotswap-power-cycle/files/hotswap-power-cycle.service index 054b2fe..b95cafa 100644 --- a/meta-quanta/meta-gbs/recipes-gbs/hotswap-power-cycle/files/hotswap-power-cycle.service +++ b/meta-quanta/meta-gbs/recipes-gbs/hotswap-power-cycle/files/hotswap-power-cycle.service
@@ -1,9 +1,9 @@ [Unit] Description=Power Cycle by Hotswap Controller +After=gbmc-psu-hardreset.target [Service] Type=oneshot -EnvironmentFile=-/run/psu_timedelay ExecStart=/usr/bin/tray_powercycle.sh [Install]