commit | 56bca1f2d5602cbd86abae5c0a22e3f2b6317d74 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Fri Oct 14 20:04:25 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Oct 14 20:04:25 2022 +0000 |
tree | 485fe91fe78460b67fe06fc9d4b7c64d759be926 | |
parent | f07eaeb72e2f9b56a03d3dd2315f0ec75e758223 [diff] | |
parent | 78e524e418eb06273dbf211f7a840ce2a89d635c [diff] |
Merge "Only check for powerwash in A/B ota packages"
diff --git a/install/install.cpp b/install/install.cpp index 83f3cad..044856b 100644 --- a/install/install.cpp +++ b/install/install.cpp
@@ -551,7 +551,9 @@ } else { LOG(FATAL) << "Invalid status code " << status; } - PerformPowerwashIfRequired(zip, device); + if (package_is_ab) { + PerformPowerwashIfRequired(zip, device); + } return INSTALL_SUCCESS; }