diff options
author | Bill Yi <byi@google.com> | 2021-08-31 01:31:59 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-08-31 01:31:59 +0000 |
commit | 8ea1d48f9e2253e62b86c9bc09398ba19a72d2a5 (patch) | |
tree | 959f5c2f87c4d25cd27a1cdb2c79c9f433bdbd3b | |
parent | db31e911986c1e6d419d117a2b9e6c2133901c6d (diff) | |
parent | 15f0db8ce8abc539138bace1690e8e0d50c32c8e (diff) | |
download | common-8ea1d48f9e2253e62b86c9bc09398ba19a72d2a5.tar.gz |
[automerge] Update fastboot version checking to 3103 to support P21 2p: 2573c7ce0a am: 15f0db8ce8
Original change: https://googleplex-android-review.googlesource.com/c/device/common/+/15720117
Change-Id: Ifb96ba1501e1a8a159b9862afc9de5eac3b8065a
-rw-r--r-- | generate-factory-images-common.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generate-factory-images-common.sh b/generate-factory-images-common.sh index 55fa170..95f4e35 100644 --- a/generate-factory-images-common.sh +++ b/generate-factory-images-common.sh @@ -101,7 +101,7 @@ cat > tmp/$PRODUCT-$VERSION/flash-all.sh << EOF # See the License for the specific language governing permissions and # limitations under the License. -if ! [ \$(\$(which fastboot) --version | grep "version" | cut -c18-23 | sed 's/\.//g' ) -ge 2802 ]; then +if ! [ \$(\$(which fastboot) --version | grep "version" | cut -c18-23 | sed 's/\.//g' ) -ge 3103 ]; then echo "fastboot too old; please download the latest version at https://developer.android.com/studio/releases/platform-tools.html" exit 1 fi @@ -258,7 +258,7 @@ cat > tmp/$PRODUCT-$VERSION/flash-base.sh << EOF # See the License for the specific language governing permissions and # limitations under the License. -if ! [ \$(\$(which fastboot) --version | grep "version" | cut -c18-23 | sed 's/\.//g' ) -ge 2802 ]; then +if ! [ \$(\$(which fastboot) --version | grep "version" | cut -c18-23 | sed 's/\.//g' ) -ge 3103 ]; then echo "fastboot too old; please download the latest version at https://developer.android.com/studio/releases/platform-tools.html" exit 1 fi |