termux / termux-packages Public
For maintainers
Pages 13
-
LoadingHome
-
LoadingAutomatic repository updates
-
LoadingBuild environment
-
LoadingBuilding packages
-
LoadingCoding guideline
-
LoadingCommon porting problems
-
LoadingCreating new package
-
LoadingDonate
-
LoadingMirrors
-
LoadingPackage Management
-
LoadingTermux and Android 10
-
LoadingTermux file system layout
Clone this wiki locally
Utilities
-
./build-all.sh: Build all packages in the correct order (using./scripts/buildorder.py). -
./clean.sh: Cleaning build environment. -
./scripts/check-built-packages.py: Compare local (git) and remote (apt) package versions. -
./scripts/check-pie.sh: Verify that all binaries are using PIE, which is required for Android 5+. -
./scripts/check-versions.sh: Check for package updates. -
./scripts/ldd: Print list of required shared libraries for given binary. -
./scripts/lint-packages.sh: Do basic checks for problems inbuild.shscripts. -
./scripts/list-packages.sh: List all packages with a one-line summary. -
./scripts/generate-bootstraps.sh: Generate bootstrap archive for Termux app.
Generating bootstrap archives
Bootstrap archives is a zip archives of $TERMUX_PREFIX with basic packages
preinstalled and used to create a minimal working environment on first start
of Termux application.
Normally, bootstrap zip archives are being generated by executing this script:
./scripts/generate-bootstraps.sh
Built archives will be available in the current working directory.
Please note that you must have an apt repository deployed on the web server
in order to be able to generate bootstrap archives.
Default script configuration is
Architectures: aarch64 arm i686 x86_64
Repository URL: https://packages.termux.org/apt/termux-main/
so if you want to generate bootstraps for custom repository, consider using following command line options:
-
--architectures- Comma separated list of architectures for which bootstraps should be generated. -
--repository- URL of your APT repository. Offline bootstrap generation is not supported.

