Move it to vendor to work with generic AOSP system image.
Bug: 37927875
Test: The lib is under /vendor/lib(64)/hw instead of /system/lib(64)/hw
and the resulted system/vendor images work on the device.
Change-Id: I8218120bc870b64959f5a9929c5fdea703b7fb0c
Move all permission XML files form:
system/etc/permissions/*
to
vendor/etc/permissions/*
Bug: 37927875
Test: check these files in folder vendor/etc/permissions
Change-Id: Iaebed412a99c26bb89f7024618e3c2c4bf63ca4b
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
Change path (to /vendor/bin) for init.*.sh, and add
path (to /vendor/etc) for fstab.* in init.hardware.rc.
Bug: 37927875
Test: These files are under /vendor instead of / or /system,
paths (in rc files) are changed to vendor accordingly,
and the resulted system/vendor images work on the device.
Change-Id: I64c8a899ab1c6837d51853e289160e35910b5b9a