diff --git a/services/sdcard_update/sdcard_update.cpp b/services/sdcard_update/sdcard_update.cpp index f13bf526e67039730474d2b04670c7bcc933db58..f248955b36a7a5c0b4b6795865a1e3498e8fc893 100644 --- a/services/sdcard_update/sdcard_update.cpp +++ b/services/sdcard_update/sdcard_update.cpp @@ -72,6 +72,9 @@ bool DoMountSdcard(std::vector &sdcardStr, std::string &mountPoint) { bool mountSuccess = false; unsigned int retryTimes = 20; + if (upParams.sdExtMode == SDCARD_MAINIMG || upParams.sdExtMode == SDCARD_NORMAL_UPDATE) { + retryTimes = 60; + } for (unsigned int retryCount = 1; retryCount <= retryTimes; retryCount++) { LOG(INFO) << "the retry time is: " << retryCount; for (auto item : sdcardStr) {