From 07da74745e9375d16fe5724c8e879cfd0d6a4098 Mon Sep 17 00:00:00 2001 From: Albert I Date: Fri, 2 Jul 2021 20:08:12 +0800 Subject: [PATCH] sm8350-common: rootdir: fstab: Handle `avb=` fs_mgr flags correctly Specifying avb= is only necessary for first entry of partition groups that use same vbmeta partition. The following entry can have part omitted. Test: None Link: https://source.android.com/devices/architecture/kernel/mounting-partitions-early#fstab-entries Signed-off-by: Albert I Change-Id: I5a42fd3de72c400acfae56d6a1e1b85c22a79537 --- rootdir/etc/fstab.qcom | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootdir/etc/fstab.qcom b/rootdir/etc/fstab.qcom index 25184fc..d262155 100644 --- a/rootdir/etc/fstab.qcom +++ b/rootdir/etc/fstab.qcom @@ -36,9 +36,9 @@ # system /system ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey -system_ext /system_ext ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount -product /product ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta_system,logical,first_stage_mount -vendor /vendor ext4 ro,barrier=1,discard wait,slotselect,avb,logical,first_stage_mount +system_ext /system_ext ext4 ro,barrier=1,discard wait,slotselect,avb,logical,first_stage_mount +product /product ext4 ro,barrier=1,discard wait,slotselect,avb,logical,first_stage_mount +vendor /vendor ext4 ro,barrier=1,discard wait,slotselect,avb=vbmeta,logical,first_stage_mount odm /odm ext4 ro,barrier=1,discard wait,slotselect,avb,logical,first_stage_mount /dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,check,formattable,first_stage_mount /dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait