diff options
author | Paul Lawrence <paullawrence@google.com> | 2015-10-07 15:01:57 -0700 |
---|---|---|
committer | Paul Lawrence <paullawrence@google.com> | 2015-10-19 10:20:30 -0700 |
commit | 89488ac39bbe32a5b3f2014f2d75a838188e59c6 (patch) | |
tree | 8231ba83837532594fb0a7e340662bfcbb79e2d7 /init.bullhead.rc | |
parent | c72f5a0ed4911e3902ebdcbe764a9eb725d26837 (diff) | |
download | bullhead-89488ac39bbe32a5b3f2014f2d75a838188e59c6.tar.gz |
Move stuff around to allow keymaster to start in time
Change-Id: I5161ce11e89e81060e3380f820af3b1c0092c5d2
Diffstat (limited to 'init.bullhead.rc')
-rw-r--r-- | init.bullhead.rc | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/init.bullhead.rc b/init.bullhead.rc index 7936caf..2eebdbb 100644 --- a/init.bullhead.rc +++ b/init.bullhead.rc @@ -94,8 +94,6 @@ on early-boot verity_update_state on boot - symlink /dev/block/platform/soc.0/f9824900.sdhci /dev/block/bootdevice - # execute script to set initial CPU settings # don't run as a service to avoid race conditions exec - root root system -- /system/bin/init.bullhead.power.sh @@ -168,6 +166,18 @@ on boot chown system system /sys/class/leds/blue/on_off_ms chown system system /sys/class/leds/red/rgb_start +on post-fs + symlink /dev/block/platform/soc.0/f9824900.sdhci /dev/block/bootdevice + + mkdir /persist/data 0700 system system + mkdir /persist/data/sfs 0700 system system + mkdir /persist/data/tz 0700 system system + mkdir /persist/data/app_g 0700 system system + mkdir /persist/widevine 0770 drm system + + start qseecomd + exec - root root system -- /system/bin/init.bullhead.qseecomd.sh + on post-fs-data # Mark the copy complete flag to not completed mkdir /data/misc/radio 0770 radio radio @@ -181,12 +191,6 @@ on post-fs-data write /sys/bus/i2c/devices/2-0020/check_fw 1 write /sys/devices/soc.0/f9924000.i2c/power/control on - mkdir /persist/data 0700 system system - mkdir /persist/data/sfs 0700 system system - mkdir /persist/data/tz 0700 system system - mkdir /persist/data/app_g 0700 system system - mkdir /persist/widevine 0770 drm system - # Create /data/time folder for time-services mkdir /data/time/ 0700 system system |