diff options
author | Bill Yi <byi@google.com> | 2016-08-31 19:18:40 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-08-31 19:18:40 +0000 |
commit | 85e2f5d44d2baf62a511080a5b92983c049737c2 (patch) | |
tree | 652cb247a8ee934bab2189ae57bf5eafa99fd11e | |
parent | 325c9677e92675a3e7ce2ef896f775c3d9ee604c (diff) | |
parent | 18bc401f584e1e3943e451458d9f91159c807f70 (diff) | |
download | device_common-85e2f5d44d2baf62a511080a5b92983c049737c2.tar.gz device_common-85e2f5d44d2baf62a511080a5b92983c049737c2.tar.bz2 device_common-85e2f5d44d2baf62a511080a5b92983c049737c2.zip |
Switch tar to zip for factory images am: d68beabe33 am: 18257fd91e am: 8a07b299ca am: f05bd98958 am: 9df1bab6ac am: c7c34b7538 am: 29f50ca0c8
am: 18bc401f58
Change-Id: I39a740d52fa69a45ea1fda8a23e4721d70c83bd1
-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 b8d6707..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-$(sha256sum < $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 |