diff options
author | Bill Yi <byi@google.com> | 2016-08-31 19:14:21 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-08-31 19:14:21 +0000 |
commit | 70c896dd14d55fbbe316b1ed6a50596620c6da41 (patch) | |
tree | 3a15d07a77d9c7e4a85ed68ae0b76222f5e1219d | |
parent | 714174fcf0f90e3125e6fd72db1cdaa0a3f7c55c (diff) | |
parent | 9df1bab6acb5fdc654ec66f2b6c9db949d6c7745 (diff) | |
download | device_common-70c896dd14d55fbbe316b1ed6a50596620c6da41.tar.gz device_common-70c896dd14d55fbbe316b1ed6a50596620c6da41.tar.bz2 device_common-70c896dd14d55fbbe316b1ed6a50596620c6da41.zip |
Switch tar to zip for factory images am: d68beabe33 am: 18257fd91e am: 8a07b299ca am: f05bd98958
am: 9df1bab6ac
Change-Id: I7c6115d774963a74e57d78cc7f5eb1f40f06220a
-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 |