mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-12 07:26:58 +02:00
To avoid needing to migrate fresh dev images's /var contents when using the encrypted partition, move the /var bits out of the old stateful_partition/var location into stateful_partition/var_overlay. The (initially empty) system /var will continue to either live in stateful_partition/var (in the unencrypted case), or in stateful_partition/encrypted/var (in the encrypted case). The contents needed for gmerge will be symlinked into place at runtime (via CL I6e68b1f334f5d5b3c4d2977008435bd929191ce7). While the installer already makes sure that /var is not shipped on an image, this change additionally make sure that the other contents installed by the ebuilds will not show up in the actual /var either. BUG=chromium-os:22172 TEST=link build, boot, install, manual testing. Change-Id: Ie6480a59929818fe5d36a46abf533b648fb78850 Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/26355 Reviewed-by: Chris Sosa <sosa@chromium.org> |
||
---|---|---|
.. | ||
base_image_util.sh | ||
board_options.sh | ||
build_common.sh | ||
build_gpt.sh | ||
build_image_util.sh | ||
check_deps | ||
chromeos_blacklist | ||
create_legacy_bootloader_templates.sh | ||
dev_image_util.sh | ||
generate_au_zip.py | ||
mount_gpt_util.sh | ||
test_build_root | ||
test_image_content.sh | ||
test_image_util.sh |