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

Commit 1466c7cd authored by David Anderson's avatar David Anderson
Browse files

Fix recovery sideload failing if stale snapshots are present.

Recovery attempts to call MapAllSnapshots() during filesystem verification. If there happens to be a leftover snapshot from a previous OTA, MapAllSnapshots() can fail. Restrict it to only map snapshots that are part of the current OTA.

Note that normally DeleteSnapshot would clean these up, but we explicitly don't do that in recovery (maybe we should).

Bug: 438092240
Test: RecoveryOtaTest
Change-Id: I4a7cf7a38c20ff7e00a215c25e49004a1d76eb49
parent e281e0c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment