Clone this repo:
  1. 4e6e6e5 [sdk][bazel] Include toolchain-supplied libs in packages. by P.Y. Laligand · 25 hours ago master
  2. 32f2c4f [sdk][bazel] Cleanly add sysroot files to packages. by P.Y. Laligand · 25 hours ago
  3. 675c0fe [sdk][bazel] Package up the proper version of prebuilt SDK libraries. by P.Y. Laligand · 25 hours ago
  4. d1314df Reland "[sdk] Remove private headers from SDK" by Adam Barth · 2 days ago
  5. 0ac769b [sdk][bazel] Properly import compile_kernel_action. by Alain Vongsouvanh · 2 days ago


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 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.

fx build peridot:modular_all
scripts/ out/debug-x64/package/modular*/system_manifest

fx publish

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.