summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-11-01 08:01:40 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-11-01 08:01:40 +0000
commit9b0a9790b1988c03fd22064190da84e23a4ca4b1 (patch)
tree6183c13a4203205f5521a7504ea3be5c338d9049
parent0010553abe6b857b3411012cc8e2b09fad9b4380 (diff)
parent59f90baa4f5ad3e3b3eeb4dd558e839b057a048f (diff)
downloaddevice_common-9b0a9790b1988c03fd22064190da84e23a4ca4b1.tar.gz
device_common-9b0a9790b1988c03fd22064190da84e23a4ca4b1.tar.bz2
device_common-9b0a9790b1988c03fd22064190da84e23a4ca4b1.zip
Snap for 4428213 from 59f90baa4f5ad3e3b3eeb4dd558e839b057a048f to pi-release
Change-Id: Ibcaa5edcfcf44e8eae89e12339cb9ec44f852e58
-rw-r--r--generate-factory-images-common.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/generate-factory-images-common.sh b/generate-factory-images-common.sh
index dc1bfcd..a2d81ca 100644
--- a/generate-factory-images-common.sh
+++ b/generate-factory-images-common.sh
@@ -101,6 +101,10 @@ 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"
+ exit 1
+fi
EOF
if test "$UNLOCKBOOTLOADER" = "true"
then
@@ -254,6 +258,10 @@ 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"
+ exit 1
+fi
EOF
if test "$XLOADER" != ""
then