Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit cecb11d0 authored by Tim Zimmermann's avatar Tim Zimmermann
Browse files

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
parent e154cbd5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -666,6 +666,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 =