From 975afea5f8fdd9b553806ee86761dd3cdca270ca Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Mon, 3 Oct 2011 16:49:08 +0100 Subject: [PATCH] updated the squisher script --- releasetools/squisher.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/releasetools/squisher.sh b/releasetools/squisher.sh index 995ca9e..fc2c8b6 100755 --- a/releasetools/squisher.sh +++ b/releasetools/squisher.sh @@ -1,10 +1,6 @@ #!/bin/sh -# -# Squish a CM otapackage for distribution -# cyanogen -# - -# Doing leo specific stuff +# This script is included in squisher +# It is the final build step (after OTA package) echo "Making Leo Compatible Update script" cd $REPACK/ota/META-INF/com/google/android @@ -15,10 +11,12 @@ rm -rf updater-script grep -vw boot.img temp > updater-script rm -rf temp -echo Zipping Package +echo "Removing boot.img" cd $REPACK/ota rm -rf $REPACK/ota/boot.img rm -rf $REPACK/ota/boot + +echo "Adding boot folder" cp -a $OUT/boot $REPACK/ota/boot if [[ ! -e $OUT/temp/boot/initrd.gz ]] ; then