build_image: Add command line arg `chromeos_pstore.ecc_size=4` for x86

This change adds a kernel command line argument
`chromeos_pstore.ecc_size` for x86 platforms.

`ecc_size=4` is set as the default value, following go/cros-ecc-rollout.
As chromeos_pstore is x86-specific driver, this changes affects solely
to x86 platforms.

BUG=b:413292019
TEST=build image for x86 platform and check config.txt for this argument

Change-Id: Ibfc6c4118cb9f080d87d0111add06a12c8537f6b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/6664609
Tested-by: Naoya Tezuka <naoyatezuka@google.com>
Reviewed-by: Gilberto Contreras <gcontreras@google.com>
Commit-Queue: Naoya Tezuka <naoyatezuka@google.com>
1 file changed
tree: 6f697f47bd2d3ade4e971990689c6741016a15a7
  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. PRESUBMIT.cfg
  17. README.md
  18. update_bootloaders.sh
  19. 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.