diff options
author | Abhishek Arpure <aarpure@codeaurora.org> | 2017-05-19 08:32:12 -0700 |
---|---|---|
committer | Cosme Domínguez Díaz <cosme.ddiaz@gmail.com> | 2018-02-25 02:09:48 +0100 |
commit | 15087283d31e09165caf099cd3e574e31ff640fb (patch) | |
tree | 999e0442e4254177ede93b96d0a3075d6cf336ff /rootdir/etc | |
parent | 2bfb61bf2a3a92d9fccdcc0d8bd65c6a9e8cbe8b (diff) |
msm8996-common: Move hardware specific .rc files to /vendor/etc/init/hw
The reason these files are moved to /vendor/etc/init/hw and
not /vendor/etc/init is because 'init' scans the /vendor/etc/init folder
for vendor service .rc fragments to import. That would either result
in duplicate imports or out-of-order imports of these hardware
specific .rc files and that *may* have unintended consequences.
In order to preserve the current import order for MTP, we move all
hardware specific .rc files to /vendor/etc/init/hw which is not
autoscanned by init BUT leave the init.${ro.hardware}.rc (i.e.
init.qcom.rc in this case) in root for 'init' to find.
Change-Id: I14531da05e2a3a256f734f8de96e1f1969c753f9
Diffstat (limited to 'rootdir/etc')
-rwxr-xr-x | rootdir/etc/init.qcom.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index d193e33..e551463 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -26,6 +26,7 @@ # import /vendor/etc/init/hw/init.qcom.power.rc import /vendor/etc/init/hw/init.qcom.usb.rc +import /vendor/etc/init/hw/init.target.rc on early-init mount debugfs debugfs /sys/kernel/debug |