Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli/ota: Add new --otacerts-partition option for the patch subcommand #221

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

chenxiaolong
Copy link
Owner

The autodetection logic for @otacerts is based on the presence of the recovery, vendor_boot, and boot partitions (in that order). Some devices have vendor_boot, but put system/etc/security/otacerts.zip inside boot.

With the way things are written now, we don't have the ability to inspect the actual partition images for the autodetection. It is based on the name only. So, for now, we'll just allow the user to override the autodetected partition similar to what we already do with the --boot-partition option.

Issue: #218

The autodetection logic for `@otacerts` is based on the presence of the
`recovery`, `vendor_boot`, and `boot` partitions (in that order). Some
devices have `vendor_boot`, but put `system/etc/security/otacerts.zip`
inside `boot`.

With the way things are written now, we don't have the ability to
inspect the actual partition images for the autodetection. It is based
on the name only. So, for now, we'll just allow the user to override the
autodetected partition similar to what we already do with the
`--boot-partition` option.

Issue: #218

Signed-off-by: Andrew Gunnerson <[email protected]>
@chenxiaolong chenxiaolong merged commit bbf8e28 into master Dec 11, 2023
22 checks passed
@chenxiaolong chenxiaolong deleted the otacerts branch December 11, 2023 23:22
chenxiaolong added a commit that referenced this pull request Dec 11, 2023
Signed-off-by: Andrew Gunnerson <[email protected]>
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