Commit Graph

3 Commits

Author SHA1 Message Date
Isaac Chen
8d434ca2a7 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.common.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.common.usb.rc is changed to vendor accordingly,
and the resulted system/vendor images work on the device.

Change-Id: I63e18860eed9330e0d7b53b3df09483f2bfce5ea
2017-05-12 11:13:19 +08:00
Badhri Jagan Sridharan
bddf8f3163 Reset gadget stack before configuring
Gadget stack would be configured based on persist.sys.usb.config.
Reset the usb stack before configuring.

Test: Manually verify modem overlay functions for usbradio bootmode
Bug: 31947358
Change-Id: I9bf5c1ad1626bba90689d7abfeaa8c27e82a7ecb
2017-03-29 11:35:07 -07:00
Badhri Jagan Sridharan
ce7bf846be usb.rc: create common scripts for mukie/walleye
Creating a common script for M/W which would copied into target's
root as init.muskie.usb.rc or init.walleye.usb.rc. We can extend
this another level deeper if required.

Bug: 31947358
Change-Id: Ie10248ac4ba0f97c32de8758c89bd9b893615cda
2017-03-24 21:58:47 +00:00