emmc-logger: Add timeout logic for stop logging

The caller of this script has a 90 second limit, and it is not
finishing in that window. This change defines what will happen in the
event that it takes longer to stop logging then expected.

Tested with psdmd timeout chnage

HOST:
```
emmc_tool --action=erase --erase_type=crypto_erase
(recovered with)
psdm StorageDeviceAction 'device_set: DEVICESET_ALL, initialize_action { properties {} }, psm_allow_list { value: ["bmc-psm"] }' --uid=
```
BMC:
```
cat /dev/random | systemd-cat
```
With this chnage the bmc does not have issues running the emmc_tool
command

Google-bug-id: 316848979, 317916486
Change-Id: I12253c1049e1e0be30ca8e2ce59f707eca394a02
Signed-off-by: John Edward Broadbent <jebr@google.com>
(cherry picked from commit 3f745330d75c129f3827175caa8d7de1d24dbd05)
4 files changed
tree: dc93a622fcfedc8164f96ba1c25759c1bdbdee62
  1. conf/
  2. dynamic-layers/
  3. meta-nuvoton-npcm8xx/
  4. recipes-bsp/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-google/
  10. recipes-kernel/
  11. recipes-phosphor/
  12. recipes-support/
  13. LICENSE
  14. 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.