summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2018-03-29 15:33:27 -0700
committerBill Yi <byi@google.com>2018-07-10 16:41:55 +0000
commit20e35d3569a0646dceb105ccc66524d969887759 (patch)
tree530797e4823d92c6bd3b947309d8cb2eadbf56ac
parent728bc331813e0931ed1c1394229fad9ded00e76f (diff)
downloadcommon-pie-dr1-dev.tar.gz
Bug: 77290928 Change-Id: Ib4811e75b5a798a10a4b107f7643a964c268d8f1
-rw-r--r--generate-factory-images-common.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/generate-factory-images-common.sh b/generate-factory-images-common.sh
index a2d81ca..fdcb442 100644
--- a/generate-factory-images-common.sh
+++ b/generate-factory-images-common.sh
@@ -101,8 +101,8 @@ cat > tmp/$PRODUCT-$VERSION/flash-all.sh << EOF
# See the License for the specific language governing permissions and
# limitations under the License.
-if ! grep -q dtbo.sig \$(which fastboot); then
- echo "fastboot too old"
+if ! grep -q partition-exists \$(which fastboot); then
+ echo "fastboot too old; please download the latest version at https://developer.android.com/studio/releases/platform-tools.html"
exit 1
fi
EOF
@@ -258,8 +258,8 @@ cat > tmp/$PRODUCT-$VERSION/flash-base.sh << EOF
# See the License for the specific language governing permissions and
# limitations under the License.
-if ! grep -q dtbo.sig \$(which fastboot); then
- echo "fastboot too old"
+if ! grep -q partition-exists \$(which fastboot); then
+ echo "fastboot too old; please download the latest version at https://developer.android.com/studio/releases/platform-tools.html"
exit 1
fi
EOF