Skip to content

Make base image path optional#2

Open
shadowncs wants to merge 1 commit intoEmilyShepherd:mainfrom
shadowncs:optional_input_path
Open

Make base image path optional#2
shadowncs wants to merge 1 commit intoEmilyShepherd:mainfrom
shadowncs:optional_input_path

Conversation

@shadowncs
Copy link
Copy Markdown

Relax requirement for image path to support complete (non-partial) OTA packages without the need to provide a folder with base images (which are never used anyway).

Tested as following:
Complete OTA
./ota-tool apply -o channel_ota/payload channel_ota.zip

Incremental OTA with base path
./ota-tool apply -i base/payload -o channel_ota_from_base/payload channel_ota_from_base.zip

Incremental OTA w/o base path
./ota-tool apply -o channel_ota_from_base/payload channel_ota_from_base.zip
...
ERROR: system_ext: Incremental OTA package, requiring a base image. Either none was given, or it is inaccessible.
ERROR: system_ext: Incremental OTA package, requiring a base image. Either none was given, or it is inaccessible.
...

Relax requirement for image path to support complete (non-partial) OTA packages without the need to provide a folder with base images (which are never used anyway).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant