Merge "Move boringssl self tests from early-init to init."
This commit is contained in:
commit
00bf9dcb01
1 changed files with 27 additions and 26 deletions
|
|
@ -90,32 +90,6 @@ on early-init
|
||||||
# checker programs.
|
# checker programs.
|
||||||
mkdir /dev/fscklogs 0770 root system
|
mkdir /dev/fscklogs 0770 root system
|
||||||
|
|
||||||
# Run boringssl self test for each ABI so that later processes can skip it. http://b/139348610
|
|
||||||
on early-init && property:ro.product.cpu.abilist32=*
|
|
||||||
exec_start boringssl_self_test32
|
|
||||||
on early-init && property:ro.product.cpu.abilist64=*
|
|
||||||
exec_start boringssl_self_test64
|
|
||||||
on property:apexd.status=ready && property:ro.product.cpu.abilist32=*
|
|
||||||
exec_start boringssl_self_test_apex32
|
|
||||||
on property:apexd.status=ready && property:ro.product.cpu.abilist64=*
|
|
||||||
exec_start boringssl_self_test_apex64
|
|
||||||
|
|
||||||
service boringssl_self_test32 /system/bin/boringssl_self_test32
|
|
||||||
reboot_on_failure reboot,boringssl-self-check-failed
|
|
||||||
stdio_to_kmsg
|
|
||||||
|
|
||||||
service boringssl_self_test64 /system/bin/boringssl_self_test64
|
|
||||||
reboot_on_failure reboot,boringssl-self-check-failed
|
|
||||||
stdio_to_kmsg
|
|
||||||
|
|
||||||
service boringssl_self_test_apex32 /apex/com.android.conscrypt/bin/boringssl_self_test32
|
|
||||||
reboot_on_failure reboot,boringssl-self-check-failed
|
|
||||||
stdio_to_kmsg
|
|
||||||
|
|
||||||
service boringssl_self_test_apex64 /apex/com.android.conscrypt/bin/boringssl_self_test64
|
|
||||||
reboot_on_failure reboot,boringssl-self-check-failed
|
|
||||||
stdio_to_kmsg
|
|
||||||
|
|
||||||
on init
|
on init
|
||||||
sysclktz 0
|
sysclktz 0
|
||||||
|
|
||||||
|
|
@ -502,6 +476,33 @@ on init
|
||||||
start hwservicemanager
|
start hwservicemanager
|
||||||
start vndservicemanager
|
start vndservicemanager
|
||||||
|
|
||||||
|
# Run boringssl self test for each ABI. Any failures trigger reboot to firmware.
|
||||||
|
on init && property:ro.product.cpu.abilist32=*
|
||||||
|
exec_start boringssl_self_test32
|
||||||
|
on init && property:ro.product.cpu.abilist64=*
|
||||||
|
exec_start boringssl_self_test64
|
||||||
|
on property:apexd.status=ready && property:ro.product.cpu.abilist32=*
|
||||||
|
exec_start boringssl_self_test_apex32
|
||||||
|
on property:apexd.status=ready && property:ro.product.cpu.abilist64=*
|
||||||
|
exec_start boringssl_self_test_apex64
|
||||||
|
|
||||||
|
service boringssl_self_test32 /system/bin/boringssl_self_test32
|
||||||
|
reboot_on_failure reboot,boringssl-self-check-failed
|
||||||
|
stdio_to_kmsg
|
||||||
|
|
||||||
|
service boringssl_self_test64 /system/bin/boringssl_self_test64
|
||||||
|
reboot_on_failure reboot,boringssl-self-check-failed
|
||||||
|
stdio_to_kmsg
|
||||||
|
|
||||||
|
service boringssl_self_test_apex32 /apex/com.android.conscrypt/bin/boringssl_self_test32
|
||||||
|
reboot_on_failure reboot,boringssl-self-check-failed
|
||||||
|
stdio_to_kmsg
|
||||||
|
|
||||||
|
service boringssl_self_test_apex64 /apex/com.android.conscrypt/bin/boringssl_self_test64
|
||||||
|
reboot_on_failure reboot,boringssl-self-check-failed
|
||||||
|
stdio_to_kmsg
|
||||||
|
|
||||||
|
|
||||||
# Healthd can trigger a full boot from charger mode by signaling this
|
# Healthd can trigger a full boot from charger mode by signaling this
|
||||||
# property when the power button is held.
|
# property when the power button is held.
|
||||||
on property:sys.boot_from_charger_mode=1
|
on property:sys.boot_from_charger_mode=1
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue