mod_image_for_recovery: Add hashes of multiple partitions .. to recovery kernel boot args. The hashes of partitions MiniOS A + B are calculated, compressed, and base64 encoded. This encoded string is then added to the kernel command line as the `cros_part_hash` argument, alongside `kern_b_hash`. The format of `cros_part_hash` is "<partnum>:base64(hextobin(<digest>)[,<partnum>:base64(hextobin(<digest>)]*" BUG=b:426664945 TEST=Builders/CQ/local snippet runs Cq-Depend: chrome-internal:8506137 Change-Id: Ibaed5162779661616f1e435caea998bfc4938c23 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/6833628 Reviewed-by: Julius Werner <jwerner@chromium.org> Auto-Submit: Jae Hoon Kim <kimjae@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> Tested-by: Jae Hoon Kim <kimjae@chromium.org> Commit-Queue: Jae Hoon Kim <kimjae@chromium.org>
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.