Module images

Source
Expand description

The images and firmware that should be downloaded and written during the update.

Structs§

AssetMetadata
Metadata describing a Zbi or Vbmeta image, whether or not it is for recovery, and where to resolve it from.
FirmwareMetadata
Metadata describing a firmware image.
ImageMetadata
Metadata necessary to determine if a payload matches an image without needing to have the actual image.
ImagePackagesManifest
A manifest describing the various images and firmware packages that should be fetched and written during a system update, as well as metadata about those images and where to find them.
ImagePackagesManifestBuilder
A builder of ImagePackagesManifest.
ImagesMetadata
The metadata for all the images of the OTA, arranged by how the system-updater would write them to the paver.
ZbiAndOptionalVbmetaMetadata
Metadata for artifacts unique to an A/B/R boot slot.

Enums§

AssetType
Image asset type.
ImageMetadataError
An error encountered while handling ImageMetadata.
ImagePackagesError
An error encountered while loading the images.json manifest.
ResolveImagesError
An error encountered while resolving images.
Slot
Whether an asset should be written to recovery or the non-current partition.
VerifyError
An error encountered while verifying an [ImagePackagesSlots].
VersionedImagePackagesManifest
A versioned ImagePackagesManifest.

Functions§

parse_image_packages_json
Returns structured images.json data based on raw file contents.