summaryrefslogtreecommitdiff
path: root/init.common.usb.rc
diff options
context:
space:
mode:
authorIsaac Chen <ycchen@google.com>2017-05-10 19:02:20 +0800
committerIsaac Chen <ycchen@google.com>2017-05-12 11:13:19 +0800
commit8d434ca2a7e3522f1cea34ded314edb801a6bc19 (patch)
tree253786012b5b6ee2703dea136c6b5a337002c0f9 /init.common.usb.rc
parent22fe568c04ec644cb9e7f6673cfbd08ee927b88b (diff)
downloadmuskie-8d434ca2a7e3522f1cea34ded314edb801a6bc19.tar.gz
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
Diffstat (limited to 'init.common.usb.rc')
-rw-r--r--init.common.usb.rc7
1 files changed, 6 insertions, 1 deletions
diff --git a/init.common.usb.rc b/init.common.usb.rc
index 7838592..b84208c 100644
--- a/init.common.usb.rc
+++ b/init.common.usb.rc
@@ -1,4 +1,9 @@
-import init.wahoo.usb.rc
+#
+# 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"