Commit Graph

14 Commits

Author SHA1 Message Date
Leonid Pliushch
4c675c3b09 setup-offline-bundle.sh: prefix and home now are set by properties.sh 2020-10-30 21:39:54 +02:00
Leonid Pliushch
8f92420089 setup-offline-bundle.sh: define TERMUX_MAKE_PROCESSES 2020-10-23 02:20:40 +03:00
Leonid Pliushch
30e079d01d setup-offline-bundle.sh: define TERMUX_DEBUG 2020-10-23 02:09:31 +03:00
Leonid Pliushch
47eca5ed01 build-package.sh: enable offline mode when file ./build-tools/.installed is present
Once ./scripts/setup-offline-bundle.sh was executed, all sources and build tools
should be downloaded and build-package.sh should be able to use them.
2020-10-23 01:57:33 +03:00
Leonid Pliushch
f1d0cbc055 setup-offline-bundle.sh: ignore errors when sourcing build.sh 2020-10-23 01:49:20 +03:00
Leonid Pliushch
72c0601e5f setup-offline-bundle.sh: define TERMUX_PKG_BUILDDIR 2020-10-23 01:34:50 +03:00
Leonid Pliushch
db85c79683 setup-offline-bundle.sh: define TERMUX_PKG_BUILDER_DIR 2020-10-23 01:30:43 +03:00
Leonid Pliushch
41a9c901e7 setup-offline-bundle.sh: define TERMUX_BUILD_TUPLE 2020-10-23 01:28:22 +03:00
Leonid Pliushch
bafb0c77c9 setup-offline-bundle.sh: define TERMUX_PKG_GIT_BRANCH 2020-10-23 01:26:31 +03:00
Leonid Pliushch
3a9c6c0f73 setup-offline-bundle.sh: define TERMUX_PKG_HOSTBUILD_DIR 2020-10-23 01:07:00 +03:00
Leonid Pliushch
9c116632a8 setup-offline-bundle.sh: fix script syntax
We can't use "continue" inside subshell in the loop body.
2020-10-23 00:49:50 +03:00
Leonid Pliushch
49c9eabda4 setup-offline-bundle.sh: don't extract sources by termux_step_get_source.sh
Override function termux_extract_src_archive() used by termux_step_get_source.sh.
2020-10-23 00:45:01 +03:00
Leonid Pliushch
195314fe20 setup-offline-bundle.sh: add support for downloading package sources 2020-10-23 00:27:56 +03:00
Leonid Pliushch
be0b9e9331 build-package.sh: support offline preinstalled build tools
First step of making possibility to have offline snapshots of
'termux-packages' repo. Useful for making full repo snapshots.

That will allow to preinstall tools like Cmake, Go, Meson to
directory stored within packages tree and will not be wiped when
using ./clean.sh.

Next steps will also implement offlining of the package sources
and NDK standalone toolchain.
2020-10-22 22:46:02 +03:00