Assign owner/group for cp_temp after the kernel module is loaded. am: 8eab233dba

Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/22191208

Change-Id: I3cf87301268d976dc0d20e528fe377db25973607
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Mahesh Kallelil 2023-03-22 04:07:40 +00:00 committed by Automerger Merge Worker
commit 82ce082363

View file

@ -223,9 +223,6 @@ on init
chown system system /dev/battery_history chown system system /dev/battery_history
chmod 0644 /dev/battery_history chmod 0644 /dev/battery_history
# Modem temperature driver
chown radio system /sys/devices/platform/cp-tm1/cp_temp
# Loading common kernel modules in background # Loading common kernel modules in background
start init_display start init_display
@ -361,6 +358,9 @@ on late-fs
mount_all --late mount_all --late
on post-fs-data on post-fs-data
# Modem temperature driver
chown radio system /sys/devices/platform/cp-tm1/cp_temp
# Log data folder # Log data folder
mkdir /data/vendor 0771 radio system mkdir /data/vendor 0771 radio system
mkdir /data/vendor/log 0771 radio system mkdir /data/vendor/log 0771 radio system