commit | b515ce08a0a05fb0faed3bf3c9aa9b5295cc1bab | [log] [tgz] |
---|---|---|
author | James Robinson <jamesr@google.com> | Fri Nov 16 10:41:51 2018 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri Nov 16 19:50:39 2018 +0000 |
tree | 91c97b4b290d7be756ec85358159ae08ee8f2fe8 | |
parent | ba0aac19c0ca1de8b94d95303b0d84a6b69f5aa4 [diff] |
[set] Support specifying --packages with no --product in set This reinstates support for saying: fx set x64 --packages ... with no product specified by making the available/preinstall/monolith assignments check if the variables are already defined before appending to them. BLD-240 #comment restore 'fx set x64 --packages ..' with no product Change-Id: I9822280763e66ea1b1fb2a9b23f22a3e979a7468
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.