commit | a2aa143e426a8c18feac701b30f3bebbe157496d | [log] [tgz] |
---|---|---|
author | Aidan Wolter <awolter@google.com> | Wed May 11 04:45:08 2022 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 11 04:45:08 2022 +0000 |
tree | 0f096ac6e5b090f327dc6b58541689b7b998d750 | |
parent | 6bb6e403b396e44a16ffe31e019f3d1cbd9a0b2e [diff] |
[assembly] Add harware_revision to partitions config This field is now required with fxrev.dev/677925. Bug: 97960 Change-Id: Ie5471138b64f5bf4aa651aa2f1fe2e443b1b49e4 Reviewed-on: https://fuchsia-review.googlesource.com/c/workstation/+/678202 Reviewed-by: Jiaming Li <lijiaming@google.com> Commit-Queue: Jiaming Li <lijiaming@google.com> Fuchsia-Auto-Submit: Aidan Wolter <awolter@google.com>
The workstation.git repository holds the source code for building the Workstation outside of fuchsia.git. For more information, see RFC-0095.
This repository is a work in progress and should be considered experimental- the official Workstation product is still in the main fuchsia.git repository.
This project uses git submodules. After checking out a branch run the git submodule command to update the dependencies.
git submodule update --init --recursive
Bootstrap script in scripts/bootstrap.sh
will fetch bazel.
The Workstation repository uses Bazel for its build system. To ensure that you are using the version of Bazel that was tested in CQ/CI we recommend using bazelisk. You can either add bazelisk to your path or invoke it directly.
# Assumes that WORKSTATION_REPO is set to your checkout directory export PATH="${WORKSTATION_REPO}/tools:$PATH"
Pave using
bazel run //src/product:workstation_x64_paver
Additional arguments may be supplied following a --
token, matching the arguments given to the bootserver tool.
Other targets can be found at src/build/BUILD.bazel
artifact_spec.json
is generated by
bazel run //tools/build_generator
See tools/build_generator/build_generator.go
for more information. Eventually, this file will be maintained by hand.
artifact_lock.json
is generated by the command:
bazel run artifact_lock_updater
This is an input to the fuchsia_product_repository
WORKSPACE target.
checksum.json
is generated by the command
bazel run @workstation_external_packages//:workspace_checksum_updater
and is also an input to the fuchsia_product_repository
WORKSPACE target.
There are more generated files in src/product. See src/product/README.md
for information.