Skip to content

Refactor overlay rc load in Rust, supporting module modification of rc #8948

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Howard20181
Copy link
Contributor

@Howard20181 Howard20181 commented Apr 17, 2025

Modules' rc scripts follow these rules:

  1. Ignore all scripts named init.rc.
  2. Each script existing in system partitions will be replaced by modules', otherwise, it will concatenated AFTER init.rc, except zygote*.rc which will be ignored (this restriction should be removed by changing the order of injection of zygote rc because it's useful in some use case like enable 32-bit zygote in pixel 7 series).

@Howard20181 Howard20181 marked this pull request as draft April 17, 2025 13:01
@Howard20181 Howard20181 marked this pull request as ready for review April 17, 2025 17:34
@Howard20181 Howard20181 marked this pull request as draft April 19, 2025 15:45
@Howard20181 Howard20181 marked this pull request as ready for review April 19, 2025 16:30
@Howard20181 Howard20181 changed the title Support inject rc Rewrite loading overlay rc with Rust, supporting module modification of rc Apr 20, 2025
@Howard20181 Howard20181 changed the title Rewrite loading overlay rc with Rust, supporting module modification of rc Refactor overlay rc load in Rust, supporting module modification of rc Apr 20, 2025
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