Update the exec root owner and group for factory_post_boot Bug: 222226268 Test: pidx=`adb shell pidof adbd` && adb shell cat proc/$pidx/task/$pidx/sched | grep "adbd \|effective uclamp.min" Change-Id: I7ad3fc9f2db8bd4d6f4c3d2fdf1de1abc0ddcb16
19 lines
649 B
Text
19 lines
649 B
Text
# Factory specific init.rc
|
|
|
|
on early-init
|
|
mount debugfs /sys/kernel/debug /sys/kernel/debug
|
|
|
|
on init
|
|
export PATH /product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin:/vendor/bin/factory
|
|
|
|
on boot
|
|
# FTM log folder
|
|
mkdir /data/ftmlog 0775 system system
|
|
|
|
# Audio test folder
|
|
mkdir /data/AudioTest 0775 system system
|
|
|
|
on property:sys.boot_completed=1
|
|
# Bump nnapi min clamp & add adbd to it for factory (b/222226268)
|
|
write /sys/kernel/vendor_sched/nnapi_uclamp_min 512
|
|
exec - root root -- /vendor/bin/factory/factory_post_boot
|