dragonboard: fstab.common: Set metadata as first_stage_mount to resolve adb remount overlay persistence issues
PeterC reported adb remount was not working properly,
and I noticed we had the same issue on HiKey960 recently
due to metadata not being set as first_stage_mount in fstab.
So this patch makes a similar change to fix the issue here.
Test: Passes system/core/fs_mgr/tests/adb-remount-test.sh
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: If92f7810ff045ff58505a1af6829ec529a289cc2
diff --git a/fstab.common b/fstab.common
index c6e1332..4ee2af2 100644
--- a/fstab.common
+++ b/fstab.common
@@ -1,6 +1,6 @@
system /system ext4 noatime,ro,errors=panic wait,logical,first_stage_mount,slotselect
/dev/block/platform/soc@0/1d84000.ufshc/by-name/userdata /data ext4 discard,noatime,noauto_da_alloc,data=ordered,user_xattr,barrier=1,inlinecrypt wait,formattable,fileencryption=aes-256-xts:aes-256-cts:v2+inlinecrypt_optimized,quota
-/dev/block/platform/soc@0/1d84000.ufshc/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,formattable
+/dev/block/platform/soc@0/1d84000.ufshc/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,formattable,first_stage_mount,check
/dev/block/platform/soc@0/1d84000.ufshc/by-name/misc /misc emmc defaults defaults
/devices/platform/soc@0/8804000.sdhci/mmc_host/mmc* auto auto defaults voldmanaged=sdcard1:auto
vendor /vendor ext4 noatime,ro,errors=panic wait,logical,first_stage_mount,slotselect