commit | eb92b6a05b058501576bb70e0409ed803cf94cbe | [log] [tgz] |
---|---|---|
author | James Tucker <raggi@google.com> | Fri Nov 09 12:12:06 2018 -0800 |
committer | James Tucker <raggi@google.com> | Sat Nov 10 01:19:19 2018 +0000 |
tree | 52356b685ea781d555926761902f692efb00951f | |
parent | 787f45915db90b90669a899b65528dfa986a0a31 [diff] |
[packages] cleanup old package scripts The deleted scripts are mostly broken due to changes. The build system now performs all publication operations instead, so the publish scripts are no longer desired. The `build-push` flow remains, and can be separately invoked by `fx build` then `fx push-package`. Test: `fx ota`, `fx build` && `fx push-package` work as expected. Change-Id: I84f8ed8e2e937e1c1a98e8733e8885fa2ebc5a56
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.