The isolated-ota
library provides a simple interface that allows a Fuchsia system to be installed over the air to a given blobfs and paver from a provided TUF repository and channel.
It does this by setting up the software delivery stack:
pkg-cache
is launched against the provided blobfs.pkg-resolver
is launched, using the provided repository configuration and channel, along with pkg-cache
from step 2.omaha-client
state machine is launched. It performs an update check once, and the Omaha state machine calls the system-updater with the update package URI returned by Omaha.isolated-ota
launches the system updater directly, using the default update URL.pkg-resolver
from step 3, and paving the images in the update package using the provided paver.To use this library:
//src/sys/pkg/lib/isolated-swd:isolated-swd-components
,//src/sys/pkg/meta/pkg-recovery.cml
as a child of your calling component, andpkg-recovery.cm
requires.