From 1be81d87b9a899b97e2da2c8121fb88cac3c2ec1 Mon Sep 17 00:00:00 2001 From: Andrew Gunnerson Date: Fri, 20 Feb 2026 23:14:17 -0500 Subject: [PATCH] README.extra.md: Fix avbroot ota -> avbroot zip Signed-off-by: Andrew Gunnerson --- README.extra.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.extra.md b/README.extra.md index 60ca05b..d584bf4 100644 --- a/README.extra.md +++ b/README.extra.md @@ -429,7 +429,7 @@ This set of commands is for working with raw OTA zip files. They are intentional ### Unpacking an OTA zip ```bash -avbroot ota unpack -i +avbroot zip unpack -i ``` This subcommand unpacks the OTA metadata to `ota.toml` and the OTA files to the `ota_files` directory. @@ -437,7 +437,7 @@ This subcommand unpacks the OTA metadata to `ota.toml` and the OTA files to the ### Packing an OTA zip ```bash -avbroot ota pack -o -k +avbroot zip pack -o -k ``` This subcommand packs a new OTA zip from the `ota.toml` file and `ota_files` directory. Any files in the `ota_files` directory that don't have a corresponding entry in `ota.toml` are silently ignored. @@ -447,19 +447,19 @@ When packing an OTA zip, the `metadata.property_files` field in `ota.toml` may p ### Repacking an OTA zip ```bash -avbroot ota repack -i -o -k +avbroot zip repack -i -o -k ``` -This subcommand is logically equivalent to `avbroot ota unpack` followed by `avbroot ota pack`, except more efficient. +This subcommand is logically equivalent to `avbroot zip unpack` followed by `avbroot zip pack`, except more efficient. **WARNING**: This is generally not a useful command. Resigning the OTA zip without also resigning the payload binary inside results in an invalid OTA. ### Showing OTA metadata ```bash -avbroot ota info -i +avbroot zip info -i ``` This subcommand shows all of the OTA metadata fields. If both the modern protobuf metadata and the legacy plain text metadata exist, the protobuf metadata takes precedence. -(All of the `ota` subcommands show this information. This specific subcommand just does so without performing any other operation.) +(All of the `zip` subcommands show this information. This specific subcommand just does so without performing any other operation.)