diff options
author | Vishal Mahaveer | 2017-09-07 11:19:56 -0500 |
---|---|---|
committer | Vishal Mahaveer | 2017-09-07 19:50:50 -0500 |
commit | a78610074972872f63686fd431dbff73b91423fe (patch) | |
tree | 293ac4d3f08675e128b26216c0a9403985e83c0e | |
parent | 64ad3860717533810839274827a782fecc011368 (diff) | |
download | device-ti-jacinto6evm-a78610074972872f63686fd431dbff73b91423fe.tar.gz device-ti-jacinto6evm-a78610074972872f63686fd431dbff73b91423fe.tar.xz device-ti-jacinto6evm-a78610074972872f63686fd431dbff73b91423fe.zip |
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 := \ | |||
43 | $(LOCAL_KERNEL):kernel \ | 43 | $(LOCAL_KERNEL):kernel \ |
44 | device/ti/jacinto6evm/tablet_core_hardware_jacinto6evm.xml:system/etc/permissions/tablet_core_hardware_jacinto6evm.xml \ | 44 | device/ti/jacinto6evm/tablet_core_hardware_jacinto6evm.xml:system/etc/permissions/tablet_core_hardware_jacinto6evm.xml \ |
45 | device/ti/jacinto6evm/manifest.xml:vendor/manifest.xml \ | 45 | device/ti/jacinto6evm/manifest.xml:vendor/manifest.xml \ |
46 | device/ti/jacinto6evm/init.jacinto6evmboard.rc:root/init.jacinto6evmboard.rc \ | 46 | device/ti/jacinto6evm/init.jacinto6evmboard.rc:vendor/etc/init/hw/init.jacinto6evmboard.rc \ |
47 | device/ti/jacinto6evm/init.jacinto6evmboard.usb.rc:root/init.jacinto6evmboard.usb.rc \ | 47 | device/ti/jacinto6evm/init.jacinto6evmboard.usb.rc:vendor/etc/init/hw/init.jacinto6evmboard.usb.rc \ |
48 | device/ti/jacinto6evm/ueventd.jacinto6evmboard.rc:root/ueventd.jacinto6evmboard.rc \ | 48 | device/ti/jacinto6evm/ueventd.jacinto6evmboard.rc:vendor/ueventd.rc \ |
49 | device/ti/jacinto6evm/fstab.jacinto6evmboard:root/fstab.jacinto6evmboard \ | 49 | device/ti/jacinto6evm/fstab.jacinto6evmboard:root/fstab.jacinto6evmboard \ |
50 | device/ti/jacinto6evm/media_profiles.xml:system/etc/media_profiles.xml \ | 50 | device/ti/jacinto6evm/media_profiles.xml:system/etc/media_profiles.xml \ |
51 | device/ti/jacinto6evm/media_codecs.xml:system/etc/media_codecs.xml \ | 51 | device/ti/jacinto6evm/media_codecs.xml:system/etc/media_codecs.xml \ |
@@ -82,7 +82,7 @@ PRODUCT_COPY_FILES += \ | |||
82 | 82 | ||
83 | # cpuset configuration | 83 | # cpuset configuration |
84 | PRODUCT_COPY_FILES += \ | 84 | PRODUCT_COPY_FILES += \ |
85 | device/ti/jacinto6evm/init.jacinto6evmboard.cpuset.sh:system/bin/init.jacinto6evmboard.cpuset.sh | 85 | device/ti/jacinto6evm/init.jacinto6evmboard.cpuset.sh:vendor/bin/init.jacinto6evmboard.cpuset.sh |
86 | 86 | ||
87 | PRODUCT_PROPERTY_OVERRIDES := \ | 87 | PRODUCT_PROPERTY_OVERRIDES := \ |
88 | hwui.render_dirty_regions=false | 88 | 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 @@ | |||
1 | import init.jacinto6evmboard.usb.rc | 1 | import /vendor/etc/init/hw/init.jacinto6evmboard.usb.rc |
2 | 2 | ||
3 | on early-init | 3 | on early-init |
4 | mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755 | 4 | mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755 |
@@ -24,7 +24,7 @@ on post-fs-data | |||
24 | on boot | 24 | on boot |
25 | 25 | ||
26 | # execute script to set cpuset configuration | 26 | # execute script to set cpuset configuration |
27 | exec - root root system -- /system/bin/init.jacinto6evmboard.cpuset.sh | 27 | exec - root root system -- /vendor/bin/init.jacinto6evmboard.cpuset.sh |
28 | 28 | ||
29 | # wi-fi | 29 | # wi-fi |
30 | mkdir /data/misc/wifi/sockets 0770 wifi wifi | 30 | 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 @@ | |||
23 | /dev/rtc0 u:object_r:rtc:s0 | 23 | /dev/rtc0 u:object_r:rtc:s0 |
24 | 24 | ||
25 | #cpuset script | 25 | #cpuset script |
26 | /system/bin/init.jacinto6evmboard.cpuset.sh u:object_r:init-cpuset-sh_exec:s0 | 26 | /vendor/bin/init.jacinto6evmboard.cpuset.sh u:object_r:init-cpuset-sh_exec:s0 |
27 | 27 | ||
28 | #lad_dra7xx | 28 | #lad_dra7xx |
29 | /system/bin/lad_dra7xx u:object_r:lad_dra7xx_exec:s0 | 29 | /system/bin/lad_dra7xx u:object_r:lad_dra7xx_exec:s0 |