remote_access.sh: Prevent failure due to race in remote_reboot Separate the touch and reboot commands in remote_reboot to ensure the touch command success, while ignoring the non-zero exit code during the reboot command since there's potential race condition causing the reboot happening earlier than the ssh session exit, and it doesn't matter whether the reboot command succeeds. BUG=b:388682790 TEST=./update_kernel.sh $DUT Change-Id: I9d3e5b6b2d6e8023b6108e24f5ec5669f517c72c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/6258335 Tested-by: Yu-Che Cheng <[email protected]> Reviewed-by: Tim Bain <[email protected]> Commit-Queue: Yu-Che Cheng <[email protected]> Reviewed-by: Fei Shao <[email protected]>
src/scripts directoryThis repository contains build tools and scripts written in shell (e.g., Bash). Historically, much of our build process was written in shell in this directory, however, we're currently in the process of migrating many scripts to Python in Chromite.
In general, we're not currently accepting new scripts in this directory.
If you want to host a script for yourself/local team, feel free to use the src/platform/dev/contrib/ directory instead.