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

Commit f670036b authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "libsnapshot: Cleanup temp metadata during rollback" into main am: 326534aa

parents be00d31a 326534aa
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2404,6 +2404,9 @@ bool SnapshotManager::NeedSnapshotsInFirstStageMount() {
                PLOG(ERROR) << "Unable to write rollback indicator: " << path;
            } else {
                LOG(INFO) << "Rollback detected, writing rollback indicator to " << path;
                if (device_->IsTempMetadata()) {
                    CleanupScratchOtaMetadataIfPresent();
                }
            }
        }
        LOG(INFO) << "Not booting from new slot. Will not mount snapshots.";