Skip to main content

Module pack

Module pack 

Source
Expand description

andysu pack: turn a payload directory into a release (content-addressed blobs, deltas against earlier releases, and a release JSON) inside a site directory.

Payload directory layout:

andysu-payload.json        descriptor (spec/schema/payload.schema.json)
dex/*.dex                  JVM code (any *.dex is kind=dex)
lib/<abi>/*.so             native libraries (renamed lib<name>.<hash8>.so here)
anything else              content

Structs§

HostSpec
What the frozen host declares (written when the host APK is built; andysu-host.json).
Options
Report

Constants§

AUTO_ARCHIVE_LIMIT
Above this many loose files, pack bundles content directories into zip components.

Functions§

check_host
Check what the payload needs against what the frozen host declares.
component_name
Stable component name for a logical path (no hashes), used to match deltas across releases.
known_releases
All releases known to the site (every channel manifest plus releases/*.json).
load_manifest
pack
walk