Reset host reboot attempts on fresh boot

The host reboot attempts counter is used to ensure
the host is only allowed a certain amount of retries to
boot for any given boot request. The count should be reset,
and the host should be given it's full amount of tries, on
any fresh boot request.

This commit puts a service into the host-start target which
is only called on a fresh boot request.

Tested: Verified this new service is run on fresh boot requests
and is not run on host reboot requests.

Resolves openbmc/openbmc#3035

Change-Id: I4be327e57d6f835b19e47272ceaad796196b68c5
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2 files changed
tree: 7bf10d1839756cc3fd52d83efca11703277717c8
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE
  7. README.md
README.md

OpenBMC

meta-phosphor is the OpenBMC layer. This layer should be included for all OpenBMC systems. The OpenBMC layer contains content which is shared between all OpenBMC systems.