- quote bash vars
- handle unknown flags in `getopts`
- add `-r` flag in `read` to avoid mangling `\`
- remove `$` in arithmetic which gives it PEMDAS characteristic
- single quote trap to expand when signaled vs. when defined
Partial compatibility for on-device builds.
There is no guarantee that it will be possible to build all available
packages and built packages will have same reliability that cross-compiled
but should solve "self-hosting" problems as much as possible.
Use scripts/buildorder.py with a new -i flag to get all dependencies
(including subpackages). The script now also spits out both package
name and package dir, to make it easier to build packages from another
repo.
- Output deb files to debs/ folder by default.
- Use $HOME/.termux-build for build folder by default (changed
from previous $HOME/termux).
- Make scripts/run-docker.sh re-use a single container instead of
creating new ones for each run.
- Avoid mounting the whole Termux build folder in docker. This
fixes#294, mmap not supported host folders under OS X.
- Add a scripts/update-docker.sh utility for checking for an
updated docker image..
- Make build-package.sh support the [-a ARCH] flag to specify arch.
- Make aarch64 the default arch (from previous arm).
- Try to improve the README a bit.
Enhanced build-all.sh to:
- Print the messages logged to ALL.out, to keep track of progress
- Print an error message when it fails, with a hint to what failed
- Keep track of packaged that build successfully, and if build-all failed:
- Skip packages that were build successfully in the previous run.