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>
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).
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}.