forked from xen-troops/android_device_xenvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.xenvm.rc
41 lines (32 loc) · 841 Bytes
/
init.xenvm.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import /init.car.rc
on init
start vms
symlink /sdcard /mnt/sdcard
on fs
mount_all ./fstab.xenvm --early
on late-fs
mount_all ./fstab.xenvm --late
on post-fs-data
setprop vold.post_fs_data_done 1
on early-boot
mount debugfs /sys/kernel/debug /sys/kernel/debug
chmod a+x /sys/kernel/debug
chmod 0666 /sys/kernel/debug/sync/sw_sync
on boot
chmod 777 /sys/kernel/debug/tracing
chmod 0666 /sys/kernel/debug/tracing/trace_marker
write /sys/power/wake_lock ws10_suspend_wa
on late-init
chmod 666 /dev/video0
start tee_supplicant
service pvrsrvctl /vendor/bin/pvrsrvctl --start
class hal
critical
user root
group root
oneshot
seclabel u:r:pvrsrvctl:s0
service tee_supplicant /vendor/bin/tee-supplicant
user root
group keystore
seclabel u:r:tee-supp:s0