mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 15:06:58 +02:00
When changing the size of the stateful partition, we must be able to operate on any image, with any arrangement of partitions. The static templates cannot be used because we don't know what we're starting with. As such, this change makes the update function walk the list of partitions, duplicating all their details, and moves any located after stateful by the change in size, and copies in the new stateful contents. BUG=chromium-os:37080 TEST=link build and decryption recovery tested Change-Id: I1131dd8ee91e5db2556bdf8f7ca12b08f35da32b Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/39424 Reviewed-by: Will Drewry <wad@chromium.org> Reviewed-by: Liam McLoughlin <lmcloughlin@chromium.org> Tested-by: Liam McLoughlin <lmcloughlin@chromium.org> |
||
---|---|---|
.. | ||
base_image_util.sh | ||
board_options.sh | ||
build_common.sh | ||
build_image_util.sh | ||
cgpt_shell.sh | ||
cgpt.py | ||
check_deps | ||
chromeos_blacklist | ||
create_legacy_bootloader_templates.sh | ||
dev_image_util.sh | ||
disk_layout_util.sh | ||
generate_au_zip.py | ||
legacy_disk_layout.json | ||
mount_gpt_util.sh | ||
test_build_root | ||
test_image_content.sh | ||
test_image_util.sh |