summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Yi <byi@google.com>2016-08-31 19:10:12 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-08-31 19:10:12 +0000
commitc7c34b7538275728e162689a2f86ac8f30cd170e (patch)
tree652cb247a8ee934bab2189ae57bf5eafa99fd11e
parent13f01157f743979a301859ba5b70e599c76d4185 (diff)
parent9df1bab6acb5fdc654ec66f2b6c9db949d6c7745 (diff)
downloaddevice_common-c7c34b7538275728e162689a2f86ac8f30cd170e.tar.gz
device_common-c7c34b7538275728e162689a2f86ac8f30cd170e.tar.bz2
device_common-c7c34b7538275728e162689a2f86ac8f30cd170e.zip
Switch tar to zip for factory images am: d68beabe33 am: 18257fd91e am: 8a07b299ca am: f05bd98958android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1nougat-dr1-release
am: 9df1bab6ac Change-Id: I82ad82088def0994fb15777a3e603e9f51bde93d
-rw-r--r--generate-factory-images-common.sh4
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