Add a service to delay the reset

This change pushes the reset state out of bmcweb and into a special
daemon. Bmcweb will call this service, and this service with the delay
time.
Testd:
date && systemctl start delay@5.service && date

journalctl -f | grep -i 'systemd\|delay\|curl'
systemd[1]: Starting Delay power off...
(5 second delay)
systemd[1]: Started Delay power off.

curl[7198]:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
curl[7198]: [395B blob data]
curl[7198]: {
curl[7198]:   "@Message.ExtendedInfo": [
curl[7198]:     {
curl[7198]:       "@odata.type": "#Message.v1_1_1.Message",
curl[7198]:       "Message": "The request completed successfully.",
curl[7198]:       "MessageArgs": [],
curl[7198]:       "MessageId": "Base.1.13.0.Success",
curl[7198]:       "MessageSeverity": "OK",
curl[7198]:       "Resolution": "None"
curl[7198]:     }
curl[7198]:   ]
curl[7198]: }

Signed-off-by: John Edward Broadbent <jebr@google.com>
Change-Id: I2615f47f915ea87f75b4e05b902f5308f15aa867
(cherry picked from commit 2d8afda19fb13210f47e4028288be0dfe72d9ac3)
2 files changed
tree: ab357c7b02e8fed556d8f165ccea4e9e3b6e4bed
  1. conf/
  2. dynamic-layers/
  3. meta-nuvoton-npcm8xx/
  4. recipes-connectivity/
  5. recipes-core/
  6. recipes-google/
  7. recipes-kernel/
  8. recipes-phosphor/
  9. LICENSE
  10. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.