Modified true-hitless scripts not to exit with error when the true-hitless package is not installed.

Modified emmc-true-hitless-enable.sh to check for the existence and enablement of the True Hitless package. If the package is absent, the script now exits with status 0 (success) instead of an error.

Fusion-Link: http://fusion2/ci/kokoro/prod%3Agbmc%2Ffirmware-build%2Ffirmware%2Fredacted_gbmc_platforms/activity/7fb76cb0-4603-4bdf-8c0d-246129fee2b6
Tested: Tested to build SPI image and tested it with true-hitless-image with no issues. "Nov 07 13:51:34 dddev9-nfd01.prod.google.com systemd[1]: Starting eMMC Available Postprocessing...
Nov 07 13:51:34 dddev9-nfd01.prod.google.com emmc-true-hitless-enable.sh[285]: True-hitless package is not installed (true-hitless directory not found at /var/google/true-hitless)
Nov 07 13:51:41 dddev9-nfd01.prod.google.com systemd[1]: Finished eMMC Available Postprocessing."
Google-Bug-Id: 455732077
Change-Id: Ia8d1822dc9871dbbe355baea352660bd7d6bbea9
Signed-off-by: Baicheng Zong <baichengz@google.com>
2 files changed
tree: 4066df5b53c815759f4553799db56132ab3d7052
  1. classes/
  2. conf/
  3. dynamic-layers/
  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. recipes-tpm1/
  14. recipes-tpm2/
  15. LICENSE
  16. 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.