Commit Graph

3 Commits

Author SHA1 Message Date
Yueyao Zhu
bb0bb1c62a Ensure usb related .rc is parsed in a defined order
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>
2017-05-18 17:37:02 -07:00
Isaac Chen
4232986daf Move configuration files to vendor for build split
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
2017-05-12 11:13:20 +08:00
Badhri Jagan Sridharan
7e76e64183 usb.rc: taimen specific usb script
Change-Id: I5f7efa31207e4d18d378fa0a7597d39ab398713f
2017-03-24 14:50:38 -07:00