Commit b4eb8d7c authored by David Dorwin's avatar David Dorwin Committed by Commit Bot

[fuchsia] Increase fvm size in images created by local-sdk.py

With the default size, tests cannot be run multiple times without
amberctl gc. See fxbug.dev/60978.

Change-Id: Ifebe7c046ead1fd302a7f3b549ae28d0499f94a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2516885
Commit-Queue: David Dorwin <ddorwin@chromium.org>
Reviewed-by: default avatarKevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823785}
parent a778644b
......@@ -36,9 +36,18 @@ def EnsureEmptyDir(path):
def BuildForArch(arch):
build_dir = 'out/release-' + arch
Run('scripts/fx', '--dir', build_dir, 'set', 'terminal.qemu-' + arch,
Run(
'scripts/fx',
'--dir',
build_dir,
'set',
'terminal.qemu-' + arch,
'--args=cache_package_labels+=["//sdk/bundles:tools"]',
'--args=is_debug=false', '--args=build_sdk_archives=true')
'--args=is_debug=false',
'--args=build_sdk_archives=true',
# Increase the size of the image to allow multiple test runs.
# 1 GiB (1024 * 1024 * 1024).
'--args=fvm_image_size=1073741824')
Run('scripts/fx', 'build', 'sdk', 'build/images')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment