From 496132bc997ee83abaffe53cbe35cf5cfbf9f33d Mon Sep 17 00:00:00 2001 From: Tim Zimmermann Date: Sat, 16 Apr 2022 22:37:08 +0200 Subject: [PATCH] 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 --- fs_mgr/fs_mgr_fstab.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/fs_mgr/fs_mgr_fstab.cpp b/fs_mgr/fs_mgr_fstab.cpp index b8b92620f..8c719c868 100644 --- a/fs_mgr/fs_mgr_fstab.cpp +++ b/fs_mgr/fs_mgr_fstab.cpp @@ -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 =