diff options
author | Wes Garner <wesgarner@gmail.com> | 2010-07-20 13:39:05 -0500 |
---|---|---|
committer | Wes Garner <wesgarner@gmail.com> | 2010-07-20 13:39:05 -0500 |
commit | a5982b2e3034f524618a3f675b36fc3c57ce62e1 (patch) | |
tree | 52c1a01d3b2ccb1d23f6ba93dc4527e401eb2fd9 /tools | |
parent | 65b1781a15c8efa7460ddca3ac6170e546f01ae1 (diff) | |
download | vendor_replicant-a5982b2e3034f524618a3f675b36fc3c57ce62e1.zip vendor_replicant-a5982b2e3034f524618a3f675b36fc3c57ce62e1.tar.gz vendor_replicant-a5982b2e3034f524618a3f675b36fc3c57ce62e1.tar.bz2 |
Define the use of SquashFS for xbin via the product
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/squisher | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/squisher b/tools/squisher index 190d4f7..e2665bb 100755 --- a/tools/squisher +++ b/tools/squisher @@ -31,12 +31,8 @@ DELETE_BINS="applypatch applypatch_static check_prereq recovery updater" # Some products want a squashfs for xbin for space -case "$TARGET_PRODUCT" in - cyanogen_dream_sapphire) WANT_SQUASHFS=1 ;; - *) WANT_SQUASHFS=0 ;; -esac -if [ "$WANT_SQUASHFS" -eq 1 ]; then +if [ -n "$WANT_SQUASHFS" ]; then fatal=0 MKSQUASHFS_VER_REQ=4 if type mksquashfs >/dev/null 2>&1; then @@ -80,7 +76,7 @@ for i in *.apk; do $OPTICHARGER $i; done ) -if [ "$WANT_SQUASHFS" -eq 1 ]; then +if [ -n "$WANT_SQUASHFS" ]; then squash_opts="-force-uid 1000 -force-gid 1000 -no-progress -noappend -no-exports -no-recovery" updater=$REPACK/ota/META-INF/com/google/android/updater-script |