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

init: Let a device's init.rc redefine service entries #39

Merged
merged 1 commit into from
Mar 17, 2015

Conversation

alwaysadeel
Copy link

In case of duplicate service definitions, init.rc's version always
wins. This is a less-than-ideal situation and the main reason for
some devices to override the default init.rc, which leads to out-of-sync
situations whenever we happen to insert something into the main copy.

So let services be overridden. To prevent accidental override of
system services, use a specific keyword for this, "service_redefine"

Change-Id: Ib1cab6bd3008956e9a2f61355781861ef8bcf8ca

In case of duplicate service definitions, init.rc's version always
wins. This is a less-than-ideal situation and the main reason for
some devices to override the default init.rc, which leads to out-of-sync
situations whenever we happen to insert something into the main copy.

So let services be overridden. To prevent accidental override of
system services, use a specific keyword for this, "service_redefine"

Change-Id: Ib1cab6bd3008956e9a2f61355781861ef8bcf8ca
alwaysadeel added a commit that referenced this pull request Mar 17, 2015
init: Let a device's init.rc redefine service entries
@alwaysadeel alwaysadeel merged commit 8538000 into XperiaSTE:cm-12.0 Mar 17, 2015
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.

2 participants