mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 16:26:02 +00:00
sm6150-common: Mount EROFS at init for /system
- We don't use EXT4 for /system anymore hence let's mount it appropriately. Change-Id: Ida90e4be8e36ca5778a4ca7d483ca3586b1f95e3 Signed-off-by: Cyber Knight <cyberknight755@gmail.com> Signed-off-by: therealmharc <therealmharc@gmail.com>
This commit is contained in:
committed by
therealmharc
parent
fcbaa25ffd
commit
ad56131883
@@ -174,7 +174,7 @@ on property:sys.shutdown.requested=*
|
|||||||
|
|
||||||
on charger
|
on charger
|
||||||
wait /dev/block/platform/soc/1da4000.ufshc/by-name/system
|
wait /dev/block/platform/soc/1da4000.ufshc/by-name/system
|
||||||
mount ext4 /dev/block/platform/soc/1da4000.ufshc/by-name/system / ro barrier=1
|
mount erofs /dev/block/platform/soc/1da4000.ufshc/by-name/system / ro
|
||||||
|
|
||||||
wait /dev/block/platform/soc/1da4000.ufshc/by-name/persist
|
wait /dev/block/platform/soc/1da4000.ufshc/by-name/persist
|
||||||
mount ext4 /dev/block/bootdevice/by-name/persist /mnt/vendor/persist nosuid nodev barrier=1
|
mount ext4 /dev/block/bootdevice/by-name/persist /mnt/vendor/persist nosuid nodev barrier=1
|
||||||
|
|||||||
Reference in New Issue
Block a user