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:
Cyber Knight
2022-05-27 19:53:35 +08:00
committed by therealmharc
parent fcbaa25ffd
commit ad56131883

View File

@@ -174,7 +174,7 @@ on property:sys.shutdown.requested=*
on charger
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
mount ext4 /dev/block/bootdevice/by-name/persist /mnt/vendor/persist nosuid nodev barrier=1