Commit Graph

20 Commits

Author SHA1 Message Date
John Cudd 863b6222de Tools: Checksum for gcc-arm download on arch prereqs
This will check to see if the tar.bz2 file exists and if it does it will
run a checksum and skip redownloading the file if its already there. If
the checksum fails or the file doesn't exist it will redownload the
file.

I ran into issues with the download taking so long that my sudo
permissions timed out and the install failed to complete. When rerunning
the script it would redownload the file even if the file was already
there. This change solves this issue.
2024-11-09 10:06:26 +11:00
ARg 04ee66bec4 Tools/environment_install: print how to activate venv if not default 2024-09-23 19:24:33 +10:00
Ryan Friedman d18a2b22f9 Tools: Give ardupilot venv access to system packages
* When possible, we can use the apt-installed python packages which are
  ABI stable
* Same for the other OS's that have VENV setup scripts

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-10 15:11:00 +10:00
Ben Butterworth 0a9a8d9178 Tools: install-prereqs-ubuntu.sh: fix script after setuptools==71.0.0 release
Use newest `packaging` to avoid packaging incompatibility with `setuptools>=71.0`

As https://github.com/pypa/setuptools/issues/4496#issuecomment-2240322375 mentions:
> setuptools>=71.0 does not work with packaging<24.0, but will not upgrade it if packaging is already installed

Also relevant: https://github.com/pypa/setuptools/issues/4496
2024-07-23 13:22:04 +10:00
Pierre Kancir 075c640404 Tools: fix archlinux install script
need setuptools on venv
2024-06-14 18:50:10 +10:00
Richard Marko 04b46678a4 treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Peter Barker 576dc9d05f Tools: clamp empy to version 3
API and syntax hanges make 4 problematic
2023-12-03 17:08:00 +11:00
Pierre Kancir 9e2b14ad36 Tools: as per archlinux wiki don't do partial upgrade
https://wiki.archlinux.org/title/System_maintenance#Upgrading_the_system
2023-09-07 07:48:31 +10:00
Pierre Kancir 2b8a605fd2 Tools: use venv on Archlinux to fix install 2023-08-23 17:15:56 +10:00
Pierre Kancir d821ec549f Tools: add dronecan to install scripts 2022-08-26 17:20:45 +10:00
Pierre Kancir 8af5763af3 CI: fix arch dev env install 2022-07-06 18:06:47 +10:00
Pierre Kancir 0e1297177b Tools: fix arch install script 2022-05-25 06:42:57 +10:00
Pierre Kancir 699651e306 Tools: add pexpect on Arch env 2022-03-22 09:08:06 +11:00
Pierre Kancir 8f04490a12 Tools: fix Arch environment installation 2021-10-07 10:05:04 +11:00
Andrew Tridgell 243dc06fd4 Tools: switched development to the 10.2.1 compiler for STM32 2021-07-27 19:50:21 +10:00
Andrew Tridgell 843f87d618 Tools: install geocoder 2021-06-29 15:41:26 +10:00
Andrew Tridgell 90b8893b4a Tools: removed dependency on genromfs and cmake
we don't need these any more
thanks to James for noticing
2021-01-05 10:18:35 +11:00
Andrew Tridgell d7018a2ba0 Tools: switch to https URL for firmware 2019-12-08 07:44:14 +11:00
Stephen Dade bc485c4c27 Tools: re-added execution flag to environment install scripts 2019-05-01 10:05:01 +10:00
Stephen Dade 7461d70e82 Tools: Consolidated prereq install scripts to single location 2019-04-05 10:31:09 +11:00