diff options
author | Hung-ying Tyan <tyanh@google.com> | 2016-12-20 16:58:23 +0800 |
---|---|---|
committer | Hung-ying Tyan <tyanh@google.com> | 2017-01-12 10:08:30 +0800 |
commit | 7e6d30e5f20b56e3d585727068a891ce167788aa (patch) | |
tree | 8f2eea270ec75c6c0df102baeb357fd5fdab13ab /debuggerd/libdebuggerd/include/machine.h | |
parent | abc26ed753bf313950984e1d9e520cb0088adefa (diff) | |
download | system_core-7e6d30e5f20b56e3d585727068a891ce167788aa.tar.gz system_core-7e6d30e5f20b56e3d585727068a891ce167788aa.tar.bz2 system_core-7e6d30e5f20b56e3d585727068a891ce167788aa.zip |
init: add ro.boot.init_rc
SoC vendors and ODMs need a way to run different init scripts under
different boot modes. This patch adds a new ro.boot.init_rc kernel
cmdline argument to support this.
This patch also changes late-init trigger. Now late-init is only
triggered in "normal" boot (where boot mode is not specified). This is
to make AOSP init.rc re-usable in other boot modes as the operations
in late-init are less common.
Bug: 26639863
Test: Tested on bullhead with
androidboot.init_rc = {non-existent .rc file}
and/or
androidboot.init_rc = {none empty string}
both of which lead to expected boot failures.
Boot succeeds if androidboot.init_rc is not specified.
Change-Id: Ie5f08c3914f2f825ad3c401fde6741459668c523
Diffstat (limited to 'debuggerd/libdebuggerd/include/machine.h')
0 files changed, 0 insertions, 0 deletions