Loading process (e.g. taimen):
- rootdir/init.rc
|- /vendor/etc/init/hw/init.taimen.rc
|- /vendor/etc/init/hw/init.taimen.usb.rc
|- /vendor/etc/init/hw/init.wahoo.usb.rc
This CL moves the init.taimen.usb.rc to /vendor/etc/init/hw, and
imports init.wahoo.usb.rc from init.taimen.usb.rc.
Test: Build with related CLs and USB File Transfer works on taimen
Bug: 38301110
Change-Id: I00ba96c1ebb5c17dfd3a8ca59024c2f6b81ef409
Signed-off-by: Yueyao Zhu <yueyao@google.com>
The following configuration files need to reside in vendor
partition to work with generic AOSP system image.
Move uevent.*.rc to /vendor
Move fstab.* to /vendor/etc
Move init.*.rc and init.wahoo.usb.rc to /vendor/etc/init.
Also the following two make file variables need to be set:
- BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
- PRODUCT_ENFORCE_RRO_TARGETS := framework-res
Comment out "import init.wahoo.usb.sh" in init.taimen.usb.rc
since /init will load all rc files under /vendor/etc/init.
Bug: 37927875
Test: These files are under /vendor instead of / or /system,
path in init.taimen.usb.rc is changed to vendor accordingly.
Change-Id: I79e41aeb13d284816ab7a2b4bde3ce8375863160