diff options
author | Bill Yi <byi@google.com> | 2016-08-31 10:34:36 -0700 |
---|---|---|
committer | Bill Yi <byi@google.com> | 2016-08-31 10:34:36 -0700 |
commit | d68beabe330c07496efb0af7e8cb9e314634d2fc (patch) | |
tree | 571b124a445a4a6276642055cb53871a0c2935fb | |
parent | 72a67b76c63d67fca25a5c33df28810ccdc4d6fb (diff) | |
download | device_common-d68beabe330c07496efb0af7e8cb9e314634d2fc.tar.gz device_common-d68beabe330c07496efb0af7e8cb9e314634d2fc.tar.bz2 device_common-d68beabe330c07496efb0af7e8cb9e314634d2fc.zip |
Switch tar to zip for factory images
BUG:31142410
Change-Id: Ib396ca3bdc8c4e27f666b7c93d580ac2bb57021b
-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 |