diff options
author | Bill Yi <byi@google.com> | 2016-08-31 19:03:37 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-08-31 19:03:37 +0000 |
commit | f05bd989580e2480117b860fd23d99e0e47efb33 (patch) | |
tree | 3a15d07a77d9c7e4a85ed68ae0b76222f5e1219d | |
parent | d34002fb872590f80f2b780ee103cbef8a8b3619 (diff) | |
parent | 8a07b299ca14ceae7186bcbf0007dcfc3918ca5d (diff) | |
download | device_common-f05bd989580e2480117b860fd23d99e0e47efb33.tar.gz device_common-f05bd989580e2480117b860fd23d99e0e47efb33.tar.bz2 device_common-f05bd989580e2480117b860fd23d99e0e47efb33.zip |
Switch tar to zip for factory images am: d68beabe33 am: 18257fd91e
am: 8a07b299ca
Change-Id: I9c1896664c685bd6ba8a7fe6e72d569b3f6bfa29
-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 |