Commit Graph

6 Commits

Author SHA1 Message Date
Henrik Grimler ec352dd663 termux_download: don't warn if SKIP_CHECKSUM is passed 2021-08-17 15:22:46 +02: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
Leonid Pliushch 5ddf251200 build-package.sh: retry if downloading of Release{,.gpg} failed when fast-build mode is on
Release or Release.gpg files may be absent if a new .deb file was uploaded
to apt repository recently. We may need to do a multiple attempts in a loop
to retry downloading of these files.

Needed after 99e9ab67b634a89d0be9eca12c4f1cdc091ee6e8, where I have disabled
looping in termux_download but curl doesn't do retries on 404 error. We
want immediate failure only for 404's on source and build tool URLs.
2020-08-21 15:46:41 +03:00
Leonid Pliushch 425594ca56 build-package.sh: double the amount of curl download retries 2020-07-28 00:20:33 +03:00
Leonid Pliushch 8ecb74b324 termux_download.sh: simplify curl download error handling
Use curl built-in download retry mechanizm instead implementing
such in shell loop.
2020-07-24 15:16:10 +03:00
Henrik Grimler a927332bd9 build-package: mv termux_download to scripts/build/ 2019-02-27 21:59:08 +02:00