commit | 16fbf92062243a2befa2467595cb4599c28d2dbf | [log] [tgz] |
---|---|---|
author | Venkatesh Srinivas <venkateshs@google.com> | Tue Dec 04 14:48:05 2018 -0500 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue Dec 04 22:33:50 2018 +0000 |
tree | e8fceb2b692a02bbd8cef491d50e1e853d17b5b2 | |
parent | cfcc2cdda3a1f90610377ccdfcd33fc6770a080b [diff] |
[gce] Specify fx command for gce subcommands in README.md examples All fx subcommands need to be prefixed with 'fx'. Change-Id: Ie051bb092678f9a9b468328c73b3d756cdb85158
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.