* Remove "update-" prefix and "-signed" suffix.
* Replace SNAPSHOT with EXPERIMENTAL (arcee).
* If CM_EXTRAVERSION, force to type EXPERIMENTAL.
* UNOFFICIAL builds now with datestamp in the same manner as NIGHTLY.
* date -u uses UTC timezone for consistency.
* Remove some CM7 dead code.
Change-Id: I681fd92e27aaf62c50eae20265ce07c67d477bca
removed functions for working with a squashfs image if target was dream
removed a useless comment (deleting wifi module, it's device specific)
Change-Id: I3d634f572bc3bf975441dd562f6e8111c0e60764
I got "java.lang.OutOfMemoryError: Java heap space" error when I'm building own Kang (galaxys2 for example) with Gapps included.
Increase maximum heap size to 1024MB will solve it.
But fallback to optipng -o7 and then pngout.
This saves ~2M in final .zip size at a cost of ~5 min of build time on
my laptop.
Change-Id: Ic56f677bdc8250f4088f4dbfbfd555ceed5616c2
Signed-off-by: Evan McClain <aeroevan@gmail.com>
Change the script to include the main ramdisk that is created by the compilation, unless if someone has their own initrd.gz in the repo, it will ignore it
Change-Id: I8847c0890124d64e1de98f02f39f38f3a3062c43
This avoids printing an error message and usage statement when using squisher if no modules
have been produced.
Change-Id: Iadd38518e64f7edf2d4da345143a44970c6f383a
Signed-off-by: Pat Thoyts <patthoyts@gmail.com>
aapt's -0 option is for extensions only, not directories, and PinyinIME
needs .dat to be excluded. Nothing else in CM7 uses a .dat file, so
this shouldn't increase the .apk size more than is needed.
Also adding .dict, which isn't strictly required, but LatinIME wants it.
Nothing in CM7 but LatinIME uses .dict.
Change-Id: I7ce1b2cbc2b32c734978488aac2f4f6c43562cc1
Number of processors: use sysctl on darwin.
xargs: fix incompatible arguments.
sed: use gsed on darwin because -i option is not compatible.
Change-Id: Ic3885db592e9588f01b69843add0e287ad35d4e9
Before
real 1m25.583s
user 1m14.101s
sys 0m21.717s
After
real 0m47.257s
user 1m46.123s
sys 0m23.453s
Change-Id: I1ca0013f8dec9175027f2e9bed93786cfe3804d5
If mksquashfs is unavailable then set NO_SQUASHFS true so that a valid
OTA package is created.
Reduces the amount of output by (optionally) using quite zip/unzip
Make better use of sed (we don't need grep|sed as sed can match input).
The verbose output of opticharger can obscure warning messages about missing
tools so this patch reduces the noise.
The script leaves droppings in /tmp so clean this up on exit using a trap.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Something isn't setting the path correctly when running in a 32-bit
chroot environment in ArchLinux. This causes the script to cd into
$WORK/xbin. The PATH incorrectly contains ".", so all attempted
commands (rm, mv, cp) fail to execute as it is trying to execute
$WORK/xbin/{rm, mv, cp}.