commit | 6a8c9c5f8c82c6e92ae5180c135ce82015066dfd | [log] [tgz] |
---|---|---|
author | Dale Sather <dalesat@google.com> | Thu Jan 24 12:48:52 2019 -0800 |
committer | Dale Sather <dalesat@google.com> | Thu Jan 24 12:48:52 2019 -0800 |
tree | 686eb577e66d2fb6e63b17588192f1682736c6d4 | |
parent | 001506c8ad8dfe485d234f283918eb0208871476 [diff] |
[scripts] clarify dependency error in verify_layer.py This CL changes an error message produced by verify_layer.py. The message is generated when an 'all' package doesn't contain a package that was found in the packages/prod directory. The message was: Missing dependency in <all>: <package> This can be misinterpreted to mean that <package> is imported in <all> and doesn't exist. The new message is: The "all" package <all> does not import package <package> TEST: ./scripts/packages/verify_layer.py --layer garnet \ --json-validator ./out/x64/host_x64/json_validator Change-Id: Id86a3f9dfd98ba3697f756f1b0957b295baa94ac
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.