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