Documentation ¶
Overview ¶
Package archive sorts, verifies, and extracts .upd (xz-compressed tar) files. Xz defaults to crc64 checksums but can support others such as sha256. .upd files *must* use sha256 or they will be considered invalid.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyUpdate ¶
func ApplyUpdate(target *disk.Filesystem)
func FindValidUpd ¶
searches for a valid update. if emergencyImage != "", only consider it. otherwise considers any in given dir. if lowmem is true, xz's output is thrown away for the validation round and the file is decompressed again for piping to tar
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.