Add alternative ext4 system mount line to facilitate compliance testing

During compliance testing, the system partition image is replaced with
GSI. However GSI is ext4, so we need an ext4 mount line for GSI to
fallback to, since the first erofs line would fail to mount.

Bug: 220074274
Test: Boot with GSI
Change-Id: Id69fab591feb9cfd378de432c51f3058a3ab8b9c
This commit is contained in:
Yi-Yo Chiang 2022-02-18 23:11:48 +08:00 committed by Yi-yo Chiang
parent 33510b21be
commit 5353fe7961

View file

@ -5,6 +5,8 @@
#
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
system /system erofs ro wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,readahead_size_kb=128
# During compliance testing, the previous line would fail (because GSI is ext4), and the next line would be used to mount GSI.
system /system ext4 ro,barrier=1 wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,readahead_size_kb=128
system_ext /system_ext erofs ro wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,readahead_size_kb=128
product /product erofs ro wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,readahead_size_kb=128
vendor /vendor erofs ro wait,slotselect,avb=vbmeta_vendor,logical,first_stage_mount,readahead_size_kb=128