commit | abeca9d4e190b610ea05134cf25304d4554e74e0 | [log] [tgz] |
---|---|---|
author | James Tucker <raggi@google.com> | Fri Jan 25 19:26:09 2019 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Sat Jan 26 04:36:55 2019 +0000 |
tree | 70f1db520701d2d94e7f856d90594f64a26aae34 | |
parent | a50ed526083eb820dc565243361e4a7838128c1f [diff] |
[fx set] add docs and deprecations --build-dir is now removed. It has been deprecated with notice for a long time. --{product,board,package}s are deprecated flags, no have messages. Additional documentation for --{board,product,monolith,preinstall,available} --netboot is documented. Example usage added. Change-Id: Ie8a3d4f2602c1f98d9c93bd35d9586a9c7b2c94f
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.