diff options
author | Bill Yi <byi@google.com> | 2016-09-09 18:24:02 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-09-09 18:24:03 +0000 |
commit | eb68cdcc6cb0125e33dc964801c23c768a5c87dc (patch) | |
tree | cc2a466ce0504532b871c55568814cece2d8aafc | |
parent | 762617a12642c9de3e3ce66b26f6c8b122c06e0f (diff) | |
parent | 52dc95d00b936f5ae9a999787a46dcc0be55d3c1 (diff) | |
download | device_common-eb68cdcc6cb0125e33dc964801c23c768a5c87dc.tar.gz device_common-eb68cdcc6cb0125e33dc964801c23c768a5c87dc.tar.bz2 device_common-eb68cdcc6cb0125e33dc964801c23c768a5c87dc.zip |
Merge "Switch tar to zip for factory images"android-n-mr1-preview-2android-n-mr1-preview-1
-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 63ab260..dc1bfcd 100644 --- a/generate-factory-images-common.sh +++ b/generate-factory-images-common.sh @@ -293,8 +293,8 @@ fi chmod a+x tmp/$PRODUCT-$VERSION/flash-base.sh # Create the distributable package -(cd tmp ; tar zcvf ../$PRODUCT-$VERSION-factory.tgz $PRODUCT-$VERSION) -mv $PRODUCT-$VERSION-factory.tgz $PRODUCT-$VERSION-factory-$(sha1sum < $PRODUCT-$VERSION-factory.tgz | cut -b -8).tgz +(cd tmp ; zip -r ../$PRODUCT-$VERSION-factory.zip $PRODUCT-$VERSION) +mv $PRODUCT-$VERSION-factory.zip $PRODUCT-$VERSION-factory-$(sha256sum < $PRODUCT-$VERSION-factory.zip | cut -b -8).zip # Clean up rm -rf tmp |