mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-01-27 15:51:28 +00:00
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
11 lines
394 B
Plaintext
11 lines
394 B
Plaintext
#
|
|
# The following import has been moved to /vendor/etc/init and will be
|
|
# loaded by /init automatically, so is commented out to reduce the
|
|
# noise in the log (and avoid redundancy).
|
|
#
|
|
#import init.wahoo.usb.rc
|
|
|
|
on boot && property:ro.bootmode=usbradio && property:persist.sys.usb.usbradio.config=*
|
|
setprop sys.usb.config "none"
|
|
setprop sys.usb.config ${persist.sys.usb.usbradio.config}
|