commit | 6f0cf76be825204a19833f4769874a7aedfd8501 | [log] [tgz] |
---|---|---|
author | P.Y. Laligand <pylaligand@google.com> | Thu Dec 20 05:17:31 2018 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri Dec 21 13:14:02 2018 +0000 |
tree | b52b3a9c57e184e8afb24b84a4b3e7c6d69ceab0 | |
parent | 4b45a9a8a3ffaf9b6423ed1735ed78dd842d6860 [diff] |
[sdk][bazel] Miscellaneous improvements to the component runner - better usage message - actually print out the output of running the component - verify that path to SSH key is absolute Test: was able to run a component and see its output Bug: DX-750 Change-Id: I33724de5a8ca9f347fb21a011a407663b11002b5
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.