fs_mgr: Don't assume partitions replaced by DSU are logical already

Test: Boot DSU on a device without dynamic partitions but first_stage_mount for /system

Change-Id: I07f0f40037109aaaf1bce0151d1eac26c971ba9e
This commit is contained in:
Tim Zimmermann 2022-04-16 22:37:08 +02:00
parent e3cca4a0d1
commit 496132bc99

View file

@ -653,6 +653,7 @@ void TransformFstabForDsu(Fstab* fstab, const std::string& dsu_slot,
entry->blk_device = partition;
// AVB keys for DSU should always be under kDsuKeysDir.
entry->avb_keys = kDsuKeysDir;
entry->fs_mgr_flags.logical = true;
}
// Make sure the ext4 is included to support GSI.
auto partition_ext4 =