Skip to content

Commit

Permalink
Define the use of SquashFS for xbin via the product
Browse files Browse the repository at this point in the history
  • Loading branch information
wesgarner committed Jul 20, 2010
1 parent 65b1781 commit a5982b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 3 additions & 0 deletions products/cyanogen_dream_sapphire.mk
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ WITH_DS_HTCACOUSTIC_HACK := true
# Use Windows Media
WITH_WINDOWS_MEDIA := true

# Use SquashFS for xbin
WANT_SQUASHFS := true

#
# Copy DS specific prebuilt files
#
Expand Down
8 changes: 2 additions & 6 deletions tools/squisher
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit a5982b2

Please sign in to comment.