diff options
author | Vishal Mahaveer <vishalm@ti.com> | 2017-09-07 11:19:56 -0500 |
---|---|---|
committer | Vishal Mahaveer <vishalm@ti.com> | 2017-09-07 19:50:50 -0500 |
commit | a78610074972872f63686fd431dbff73b91423fe (patch) | |
tree | 293ac4d3f08675e128b26216c0a9403985e83c0e | |
parent | 64ad3860717533810839274827a782fecc011368 (diff) | |
download | jacinto6evm-a78610074972872f63686fd431dbff73b91423fe.tar.gz |
jacinto6evm: move soc specific init files to vendor partition
Move SoC specific init files to vendor partition. This works on top
of early mounted vendor partition.
Change-Id: I320cf139a66b743d4f346030f7f428e28ff31288
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r-- | device.mk | 8 | ||||
-rw-r--r-- | init.jacinto6evmboard.rc | 4 | ||||
-rw-r--r-- | sepolicy/file_contexts | 2 |
3 files changed, 7 insertions, 7 deletions
@@ -43,9 +43,9 @@ PRODUCT_COPY_FILES := \ $(LOCAL_KERNEL):kernel \ device/ti/jacinto6evm/tablet_core_hardware_jacinto6evm.xml:system/etc/permissions/tablet_core_hardware_jacinto6evm.xml \ device/ti/jacinto6evm/manifest.xml:vendor/manifest.xml \ - device/ti/jacinto6evm/init.jacinto6evmboard.rc:root/init.jacinto6evmboard.rc \ - device/ti/jacinto6evm/init.jacinto6evmboard.usb.rc:root/init.jacinto6evmboard.usb.rc \ - device/ti/jacinto6evm/ueventd.jacinto6evmboard.rc:root/ueventd.jacinto6evmboard.rc \ + device/ti/jacinto6evm/init.jacinto6evmboard.rc:vendor/etc/init/hw/init.jacinto6evmboard.rc \ + device/ti/jacinto6evm/init.jacinto6evmboard.usb.rc:vendor/etc/init/hw/init.jacinto6evmboard.usb.rc \ + device/ti/jacinto6evm/ueventd.jacinto6evmboard.rc:vendor/ueventd.rc \ device/ti/jacinto6evm/fstab.jacinto6evmboard:root/fstab.jacinto6evmboard \ device/ti/jacinto6evm/media_profiles.xml:system/etc/media_profiles.xml \ device/ti/jacinto6evm/media_codecs.xml:system/etc/media_codecs.xml \ @@ -82,7 +82,7 @@ PRODUCT_COPY_FILES += \ # cpuset configuration PRODUCT_COPY_FILES += \ - device/ti/jacinto6evm/init.jacinto6evmboard.cpuset.sh:system/bin/init.jacinto6evmboard.cpuset.sh + device/ti/jacinto6evm/init.jacinto6evmboard.cpuset.sh:vendor/bin/init.jacinto6evmboard.cpuset.sh PRODUCT_PROPERTY_OVERRIDES := \ hwui.render_dirty_regions=false diff --git a/init.jacinto6evmboard.rc b/init.jacinto6evmboard.rc index c9e20fa..f2a56ec 100644 --- a/init.jacinto6evmboard.rc +++ b/init.jacinto6evmboard.rc @@ -1,4 +1,4 @@ -import init.jacinto6evmboard.usb.rc +import /vendor/etc/init/hw/init.jacinto6evmboard.usb.rc on early-init mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755 @@ -24,7 +24,7 @@ on post-fs-data on boot # execute script to set cpuset configuration - exec - root root system -- /system/bin/init.jacinto6evmboard.cpuset.sh + exec - root root system -- /vendor/bin/init.jacinto6evmboard.cpuset.sh # wi-fi mkdir /data/misc/wifi/sockets 0770 wifi wifi diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 0cf7a77..3fbbbe6 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -23,7 +23,7 @@ /dev/rtc0 u:object_r:rtc:s0 #cpuset script -/system/bin/init.jacinto6evmboard.cpuset.sh u:object_r:init-cpuset-sh_exec:s0 +/vendor/bin/init.jacinto6evmboard.cpuset.sh u:object_r:init-cpuset-sh_exec:s0 #lad_dra7xx /system/bin/lad_dra7xx u:object_r:lad_dra7xx_exec:s0 |