squisher: adjust for new priv-app folder
remove launcher and voicedialer
Change-Id: I05107465e658813d313f6a83c987bc2baf101a6e
diff --git a/tools/squisher b/tools/squisher
index 9befc4c..9bcba43 100755
--- a/tools/squisher
+++ b/tools/squisher
@@ -41,7 +41,8 @@
QUIET=-q
DELETE_BINS="applypatch applypatch_static check_prereq recovery updater"
DELETE_MEDIA="*.qmg"
-DELETE_APKS="Launcher2.apk LiveWallpapers.apk VoiceDialer.apk SpeechRecorder.apk VideoEditor.apk Exchange2.apk HoloSpiralWallpaper.apk MagicSmokeWallpapers.apk NoiseField.apk Galaxy4.apk Calendar.apk OpenWnn.apk PinyinIME.apk QuickSearchBox.apk Email.apk"
+DELETE_APKS="LiveWallpapers.apk SpeechRecorder.apk VideoEditor.apk Exchange2.apk HoloSpiralWallpaper.apk MagicSmokeWallpapers.apk NoiseField.apk Galaxy4.apk Calendar.apk OpenWnn.apk PinyinIME.apk QuickSearchBox.apk Email.apk"
+DELETE_PRIV_APKS="Launcher2.apk VoiceDialer.apk"
DELETE_GALLERY="Gallery2.apk"
DELETE_FONTS="MTLmr3m.ttf"
@@ -93,9 +94,12 @@
# Delete Offline charging mode files
( cd $REPACK/ota/system/media; echo $DELETE_MEDIA | xargs rm -f; )
-# Delete Home Apk
+# Delete Home Apk's
( cd $REPACK/ota/system/app; echo $DELETE_APKS | xargs rm -f; )
+# Delete priv-app Apk's
+( cd $REPACK/ota/system/priv-app; echo $DELETE_PRIV_APKS | xargs rm -f; )
+
# No need for modem.bin
rm -f $REPACK/ota/modem.bin