mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 13:35:09 +00:00
rosemary: rootdir: Remove sdcard symlink and iso mount
Signed-off-by: TheMalachite <eliasgheeraert@gmail.com> Change-Id: Icff4c31d55be813d2284f0617072ce343e71db07
This commit is contained in:
committed by
Matsvei Niaverau
parent
a07c6392ed
commit
f07c0837fb
@@ -23,15 +23,12 @@ on early-init
|
||||
|
||||
on init
|
||||
write /proc/bootprof "INIT:init"
|
||||
# Support legacy paths
|
||||
symlink /sdcard /mnt/sdcard
|
||||
|
||||
# if primary storage is physical, set ro.vold.primary_physical to 1
|
||||
# setprop ro.vold.primary_physical 1
|
||||
|
||||
# M306 Add for sensor calibration command in 20201124 start
|
||||
mkdir /mnt/vendor/persist 0771 system system
|
||||
mkdir /mnt/cd-rom 0000 system system
|
||||
mkdir /mnt/vendor/rescue 0771 system system
|
||||
|
||||
# change lk_env permission
|
||||
@@ -151,9 +148,6 @@ on fs
|
||||
mkdir /data/vendor/thermal 0771 root system
|
||||
mkdir /data/vendor/thermal/config 0771 root system
|
||||
|
||||
on fs
|
||||
mount iso9660 loop@/vendor/etc/iAmCdRom.iso /mnt/cd-rom ro
|
||||
|
||||
on late-fs
|
||||
write /proc/bootprof "INIT:late-fs"
|
||||
wait_for_prop hwservicemanager.ready "true"
|
||||
@@ -179,9 +173,6 @@ on post-fs
|
||||
write /proc/perfmgr/boost_ctrl/eas_ctrl/boot_boost "3 100"
|
||||
write /proc/sys/kernel/sched_stune_task_threshold 0
|
||||
|
||||
# Support legacy paths
|
||||
symlink /sdcard /storage/sdcard0
|
||||
|
||||
#change permissions for mediaserver
|
||||
chown root media /proc/clkmgr/mipi_test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user