diff options
author | Bill Yi <byi@google.com> | 2016-09-09 18:32:18 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-09-09 18:32:18 +0000 |
commit | 1f94518b4f66b1ecc8b8f65a440b011d8bbc0ceb (patch) | |
tree | cc2a466ce0504532b871c55568814cece2d8aafc | |
parent | 762617a12642c9de3e3ce66b26f6c8b122c06e0f (diff) | |
parent | eb68cdcc6cb0125e33dc964801c23c768a5c87dc (diff) | |
download | device_common-1f94518b4f66b1ecc8b8f65a440b011d8bbc0ceb.tar.gz device_common-1f94518b4f66b1ecc8b8f65a440b011d8bbc0ceb.tar.bz2 device_common-1f94518b4f66b1ecc8b8f65a440b011d8bbc0ceb.zip |
Merge "Switch tar to zip for factory images"
am: eb68cdcc6c
Change-Id: Iec9bbe6117c86bdd6fbf8a916f51e118a92939c4
-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 63ab260..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-$(sha1sum < $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 |