Revert "Add argument for specifying qemu disk size"

This reverts commit 4b45a9a8a3ffaf9b6423ed1735ed78dd842d6860.

Reason for revert: We should use `fvm_image_size` instead.

Original change's description:
> Add argument for specifying qemu disk size
> 
> `-S <size>` can now be used immediately after `fx run` to specify the
> qemu disk size. Acceptable sizes are anything that qemu-img accepts.
> 
> We have also added a help text for `run` that describes this new option.
> `fx help run` and `fx run -h` both show this help text.
> 
> Argument to pass to `run-zircon` now need to be separated by a `--`, and
> arguments to pass to `qemu` by `-- --`.
> 
> Bug: None
> Test: `fx run -- -k`, `fx run -S 2G`, `fx run -S 2G -- -k`, `fx run -h`, `fx run -- -h`
> Change-Id: Idebb7466890bf59f8b9dbb90de34adfdec54391b

TBR=mcgrathr@google.com,raggi@google.com,porce@google.com,awolter@google.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: None
Change-Id: Id166dd872b031872f31752893e13d69454b7176e
1 file changed
tree: 41ac2d2fd372c636e0502ad58f22d077a8f4d38f
  1. crash/
  2. dart/
  3. devshell/
  4. editors/
  5. gce/
  6. gdb/
  7. manifest/
  8. memory/
  9. packages/
  10. rust/
  11. sdk/
  12. style/
  13. tests/
  14. third_party/
  15. vim/
  16. youcompleteme/
  17. zsh-completion/
  18. .gitignore
  19. AUTHORS
  20. bootstrap
  21. build-qemu.sh
  22. build-zircon.sh
  23. build_id_conv.py
  24. check-gn-format
  25. colorize_logs
  26. CONTRIBUTING.md
  27. fd.py
  28. fetch-build-artifacts
  29. find_integration_revision.py
  30. flog
  31. fx
  32. fx-env.sh
  33. fx-wrapper
  34. generate-intellij-config.py
  35. git-file-tidy
  36. git-fuchsia-review
  37. git_utils.py
  38. gn_to_cmake.py
  39. LICENSE
  40. list-available-packages.py
  41. MAINTAINERS
  42. PATENTS
  43. paths.py
  44. README.md
  45. run-dart-action.py
  46. run-zircon-arm64
  47. run-zircon-x86
  48. start-dhcp-server.sh
  49. update-manifest.go
README.md

Scripts

This repository is for scripts useful when hacking on Fuchsia. This repository should contain scripts that perform tasks spanning multiple repositories. Scripts that only operate within a single repository should live in the relevant repository.

push-package.py

The push-package.py script pushes the files listed in the given manifests files. No checking is performed for incremental changes.

The sample command lines below can be used to build Modular and then push those files to the default device. This assumes you have already booted your device with a version of Fuchsia that contains the most recent version of all other packages. This command line uses the “system_manifest” file from each of the modular directories, such as modular, modular_dev, and modular_tests.

cd $FUCHSIA_DIR
fx build peridot:modular_all
scripts/push-package.py out/debug-x64/package/modular*/system_manifest

fx publish

fx publish will take a package from the build and create a Fuchsia package manager package from a build package. It will then add the package to a local update respository which, by default, is put at ${FUCHSIA_BUILD_DIR}/amber-files. It will also add the package content files to the update repository and name these file after their Merkle Root. If a package name is supplied to fx publish, only that package will be processed. If no name is supplied, all the packages made by the build will be included.