Skip to main content

Module package_format

Module package_format 

Source

Modules§

generated
pack
Canonical .aospkg packer: source package.tar → `header + vbare manifest
versioned

Structs§

AospkgHeader

Constants§

AOSPKG_FORMAT_VERSION
AOSPKG_HEADER_LEN
AOSPKG_MAGIC

Functions§

encode_aospkg_header
parse_aospkg_header
Parse the 16-byte .aospkg header and return checked chunk ranges.
parse_aospkg_header_from_prefix
read_manifest_chunk_from_file
Read and decode only the chunk1 PackageManifest from a .aospkg file: 16-byte header, seek, decode. This is the startup-critical projection read — it must never parse tar headers, decode chunk2, or touch chunk3. Shared by every host-side consumer (sidecar projection, actor plugin) so container framing has exactly one implementation.
validate_mount_range