updated the squisher script

This commit is contained in:
Arif Ali 2011-10-03 16:49:08 +01:00
parent 2f4a508d25
commit 975afea5f8

View File

@ -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