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: donjohanliebert <donjohanliebert@gmail.com>
This commit is contained in:
Cyber Knight 2022-05-27 19:53:35 +08:00 committed by donjohanliebert
parent 5f8ce774dd
commit 0a1cc039d8

View File

@ -172,7 +172,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