commit | 4aa281e82106eb4daa6e007bae8c3bfac65236ae | [log] [tgz] |
---|---|---|
author | Aidan Wolter <awolter@google.com> | Wed Jan 09 17:39:35 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Wed Jan 09 17:42:14 2019 +0000 |
tree | 41ac2d2fd372c636e0502ad58f22d077a8f4d38f | |
parent | 2e1215c3bd4c066958aa8de482131923ae8f155a [diff] |
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
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.
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
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.