blob: 5a337e888317cb5f8365c9136407947faaa04e5c [file] [log] [blame]
// Copyright 2024 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.
{
capabilities: [
{
directory: "blob",
rights: [ "rw*" ],
path: "/fs/blob/root",
},
{
directory: "blob-exec",
rights: [
"execute",
"rw*",
],
path: "/fs/blob/root",
},
{
protocol: "fuchsia.update.verify.ComponentOtaHealthCheck",
path: "/fs/blob/svc/fuchsia.update.verify.ComponentOtaHealthCheck",
},
{
protocol: "fuchsia.fxfs.BlobCreator",
path: "/fs/blob/svc/fuchsia.fxfs.BlobCreator",
},
{
protocol: "fuchsia.fxfs.BlobReader",
path: "/fs/blob/svc/fuchsia.fxfs.BlobReader",
},
],
use: [
{
protocol: "fuchsia.component.Realm",
from: "framework",
},
{
service: [ "fuchsia.hardware.block.volume.Service" ],
},
// This is only here to facilitate shutdown ordering.
{
protocol: "fuchsia.fs.startup.Startup",
from: "#fvm2",
path: "/fvm/svc/fuchsia.fs.startup.Startup",
},
],
offer: [
{
protocol: "fuchsia.boot.WriteOnlyLog",
from: "parent",
to: "#fvm2",
},
],
expose: [
{
directory: [
"blob",
"blob-exec",
],
from: "self",
},
{
directory: "volumes",
from: "#fvm2",
},
{
protocol: "fuchsia.fs.startup.Volumes",
from: "#fvm2",
},
{
protocol: [
"fuchsia.fxfs.BlobCreator",
"fuchsia.update.verify.ComponentOtaHealthCheck",
],
from: "self",
},
{
protocol: [ "fuchsia.update.verify.ComponentOtaHealthCheck" ],
from: "self",
to: "framework",
},
{
protocol: "fuchsia.fxfs.BlobReader",
from: "self",
availability: "same_as_target",
},
{
protocol: [
"fuchsia.fshost.StarnixVolumeProvider",
"fuchsia.fxfs.FileBackedVolumeProvider",
],
from: "void",
availability: "optional",
},
],
}