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

update-binary: Add support for A/B devices using static partitions #570

Merged
merged 1 commit into from
Jul 27, 2024

Conversation

chenxiaolong
Copy link
Owner

@chenxiaolong chenxiaolong commented Jul 27, 2024

There are devices using A/B with static partitions. Since the ro.boot.slot_suffix property is unset on non-A/B devices, we can just always append it to the block device name.

Fixes: #569

@chenxiaolong chenxiaolong self-assigned this Jul 27, 2024
@chenxiaolong chenxiaolong changed the title update-binary: Add support for single slot devices update-binary: Add support for A/B devices using static partitions Jul 27, 2024
There are devices using A/B with static partitions. Since the
`ro.boot.slot_suffix` property is unset on non-A/B devices, we can just
always append it to the block device name.

Fixes: #569

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong merged commit 108576a into master Jul 27, 2024
1 check passed
chenxiaolong added a commit that referenced this pull request Jul 27, 2024
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong deleted the slot_suffix branch July 27, 2024 22:43
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.

Install on Sony Xperia XZ2 Compact running LineageOS 21 fails
1 participant