| // Copyright 2023 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // This manifest defines the contents of the system update realm. |
| { |
| children: [ |
| { |
| name: "system-update-committer", |
| url: "fuchsia-pkg://fuchsia.com/system-update-committer#meta/system-update-committer.cm", |
| startup: "eager", |
| on_terminate: "reboot", |
| }, |
| ], |
| capabilities: [ |
| { |
| config: "fuchsia.system-update-committer.StopOnIdleTimeoutMillis", |
| type: "int64", |
| value: 5000, |
| }, |
| { |
| config: "fuchsia.system-update-committer.CommitTimeoutSeconds", |
| type: "int64", |
| value: 300, |
| }, |
| ], |
| offer: [ |
| { |
| config: "fuchsia.system-update-committer.StopOnIdleTimeoutMillis", |
| from: "self", |
| to: "#system-update-committer", |
| }, |
| { |
| config: "fuchsia.system-update-committer.CommitTimeoutSeconds", |
| from: "self", |
| to: "#system-update-committer", |
| }, |
| { |
| protocol: [ |
| "fuchsia.hardware.power.statecontrol.Admin", |
| "fuchsia.paver.Paver", |
| "fuchsia.update.verify.HealthVerification", |
| ], |
| from: "parent", |
| to: "#system-update-committer", |
| }, |
| { |
| dictionary: "diagnostics", |
| from: "parent", |
| to: "#system-update-committer", |
| }, |
| { |
| directory: "system-update-committer-config-data", |
| from: "parent", |
| as: "config-data", |
| to: "#system-update-committer", |
| }, |
| ], |
| expose: [ |
| { |
| protocol: [ "fuchsia.update.CommitStatusProvider" ], |
| from: "#system-update-committer", |
| }, |
| { |
| protocol: [ |
| "fuchsia.update.config.OptOut", |
| "fuchsia.update.config.OptOutAdmin", |
| ], |
| from: "#system-update-configurator", |
| source_availability: "unknown", |
| }, |
| ], |
| } |