sm6375-common: Introduce a stub blair-post-boot script
This will be used to tune some parameters in the device. Only run this script after proprietary kernel post-boot has run, so that these changes are not overriden by the same. Change-Id: Ibcef27a2813870c62d54c9d762eae9e03da677ad Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
This commit is contained in:
parent
8931f83873
commit
038d9e8853
3 changed files with 20 additions and 0 deletions
7
rootdir/bin/init.blair.post_boot.sh
Normal file
7
rootdir/bin/init.blair.post_boot.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#
|
||||
# Copyright (C) 2023 StatiXOS
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# Custom tuning for Blair SoC
|
||||
|
|
@ -162,3 +162,13 @@ on property:init.svc.vendor.per_mgr=running
|
|||
|
||||
on property:sys.shutdown.requested=*
|
||||
stop vendor.per_proxy
|
||||
|
||||
service blair-post-boot /vendor/bin/sh /vendor/bin/init.blair.post_boot.sh
|
||||
class late_start
|
||||
user root
|
||||
group root system wakelock graphics
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
on property:vendor.post_boot.parsed=1
|
||||
start blair-post-boot
|
||||
|
|
3
sepolicy/vendor/file_contexts
vendored
3
sepolicy/vendor/file_contexts
vendored
|
@ -61,6 +61,9 @@
|
|||
# IFAA
|
||||
/(vendor|system/vendor)/bin/hw/vendor\.zui\.hardware\.ifaa@1\.0-service u:object_r:hal_ifaa_default_exec:s0
|
||||
|
||||
# Init
|
||||
/vendor/bin/init.blair.post_boot.sh u:object_r:vendor_qti_init_shell_exec:s0
|
||||
|
||||
# Label read_ahead_kb in /data partition
|
||||
/sys/devices/platform/soc/1d84000.ufshc/host0/target0:0:0/0:0:0:0/block/sda/queue/read_ahead_kb u:object_r:vendor_sysfs_scsi_host:s0
|
||||
|
||||
|
|
Loading…
Reference in a new issue