commit | 61b65e5dad9f960b5601dcb952155c0ab70e07d5 | [log] [tgz] |
---|---|---|
author | James Tucker <raggi@google.com> | Mon Dec 10 17:18:05 2018 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Wed Dec 12 02:36:57 2018 +0000 |
tree | 5c105fc2626dfa3b2380809216ce1d514ddf66d4 | |
parent | 380f201dd8e3bfe019bac4beaed5b05ff9465850 [diff] |
[serve,serve-updates] cleanup scripts Added escapes around key pieces. Simplified logic. Removed localhost source remnants. Propagate amber_ctl error code to host shell. Change-Id: Ia8aa1ab379e7e4c9dde8205467fa0a3e19e6f5dd
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.