update_kernel: Ask before re-enabling verity

Prompt the user before using local bootargs that would re-enable rootfs
verification. There is a high chance the user doesn't want to do this,
since we're likely pushing a kernel that doesn't match the verity hash,
which would cause the device to fail to boot.

BUG=None
TEST=manual

Change-Id: If350fd97605d9808d6d170391965a10782b51c43
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/5872301
Tested-by: David Stevens <stevensd@chromium.org>
Commit-Queue: David Stevens <stevensd@chromium.org>
Reviewed-by: Tzung-Bi Shih <tzungbi@chromium.org>
1 file changed
tree: daff84b8b7c74cfec015ad4d7ddba4850ad7cc9a
  1. bin/
  2. build_library/
  3. hooks/
  4. lib/
  5. mod_for_test_scripts/
  6. .gitignore
  7. build_kernel_image.sh
  8. common.sh
  9. cros_show_stacks
  10. DIR_METADATA
  11. image_to_vm.sh
  12. make_netboot.sh
  13. mod_image_for_recovery.sh
  14. mount_gpt_image.sh
  15. OWNERS
  16. OWNERS.kernel
  17. PRESUBMIT.cfg
  18. README.md
  19. remote_access.sh
  20. update_bootloaders.sh
  21. update_chroot
  22. update_kernel.sh
README.md

src/scripts directory

This 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.