From b3f938a329dd38cb47f00abac86448d84aaefae1 Mon Sep 17 00:00:00 2001 From: 1q23lyc45 <174172451+1q23lyc45@users.noreply.github.com> Date: Sun, 15 Dec 2024 10:33:01 +0800 Subject: [PATCH] No longer use persist --- native/src/core/bootstages.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/native/src/core/bootstages.cpp b/native/src/core/bootstages.cpp index 0e7d79800..200b7ad99 100644 --- a/native/src/core/bootstages.cpp +++ b/native/src/core/bootstages.cpp @@ -100,7 +100,6 @@ string find_preinit_device() { UNKNOWN, CACHE, METADATA, - PERSIST, DATA, }; @@ -150,12 +149,6 @@ string find_preinit_device() { } [[fallthrough]]; case METADATA: - if (info.target == "/persist" || info.target == "/mnt/vendor/persist") { - matched = PERSIST; - break; - } - [[fallthrough]]; - case PERSIST: if (info.target == "/data") { if (!encrypted || access("/data/unencrypted", F_OK) == 0) { matched = DATA;