commit | fa287d5dd7c281f0917425dbbb672c348338e465 | [log] [tgz] |
---|---|---|
author | Rob Tsuk <robtsuk@google.com> | Thu Nov 01 13:55:41 2018 -0700 |
committer | Rob Tsuk <robtsuk@google.com> | Fri Nov 02 11:41:41 2018 -0700 |
tree | 2a6af978de50a1a1423ff152dfa3577be8114e13 | |
parent | 191da0d07ed07e6630958cb9547f6dc595496cbb [diff] |
[fx] Don’t suggest set-device all the time If there’s only one device there’s no need to remind every time. Also only use the timeout parameter on Mac if the firewall is enabled. Testing: ran fx reboot with and without Mac firewall enabled. Change-Id: Ic65221a675170650549faf52659cbc1c0f385a9b
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.