commit | a701c3719dfd09e4b488de91a419511aeefea014 | [log] [tgz] |
---|---|---|
author | James Sullivan <jfsulliv@fuchsia.infra.roller.google.com> | Mon Nov 18 23:22:43 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Nov 18 15:24:06 2024 -0800 |
tree | c5db7157fc9d9e4762e4cd89c78c254a62b0f8bb | |
parent | 2c828d751fe671934a32276fc4e73903e9918823 [diff] |
[roll] Roll fuchsia [storage] Move partition table detection to fshost The system partition table is the one on which the primary system ought to reside on (i.e. typically the GPT-formatted non-removable storage device). Currently the paver has heuristics to find this, but these heuristics should live in fshost since that is a question of storage policy and fshost is the storage policy engine. Fshost will automatically resolve fuchsia.storagehost.PartitionService and fuchsia.storagehost.PartitionsManager requests to the system GPT component when it is bound, so calls to those interfaces will block until the GPT has been found and its partitions enumerated. The paver will use PartitionService for enumerating partitions and connecting to them. fuchsia.fshost.Recovery/InitSystemPartitionTable is a special method that is only supported when fuchsia.fshost.Netboot (the config value) is set. This method is essentially just a proxy for fuchsia.storagehost.PartitionsAdmin/ResetPartitionTable, allowing fshost to enforce its own policy restrictions on when partition tables are reset. The logic in the paver to deal with uninitialized or malformed GPT devices was removed. This is handled transparently by fshost; fshost will present an empty GPT to the paver in this case, and the paver can only do one thing in this case, which is call InitSystemPartitionTable if the system is booted into a supported configuration. Finally, this change corrects the directory structure of the services exposed from storage-host to conform to RFC-0041. Original-Bug: 371060853 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1151454 Original-Revision: e530a51323aae5ad25845911b0691877e9b8a5a9 GitOrigin-RevId: 0297f8e78c3005df6e21745a4fddd4b74ff6c095 Change-Id: Iee9bad101559df664c46343421b96c343c9a54f9
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.