summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2017-09-07 11:19:56 -0500
committerVishal Mahaveer2017-09-07 19:50:50 -0500
commita78610074972872f63686fd431dbff73b91423fe (patch)
tree293ac4d3f08675e128b26216c0a9403985e83c0e
parent64ad3860717533810839274827a782fecc011368 (diff)
downloaddevice-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.mk8
-rw-r--r--init.jacinto6evmboard.rc4
-rw-r--r--sepolicy/file_contexts2
3 files changed, 7 insertions, 7 deletions
diff --git a/device.mk b/device.mk
index 668b6b7..e08cce1 100644
--- a/device.mk
+++ b/device.mk
@@ -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
84PRODUCT_COPY_FILES += \ 84PRODUCT_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
87PRODUCT_PROPERTY_OVERRIDES := \ 87PRODUCT_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 @@
1import init.jacinto6evmboard.usb.rc 1import /vendor/etc/init/hw/init.jacinto6evmboard.usb.rc
2 2
3on early-init 3on 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
24on boot 24on 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