1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

scripts/ansible: Also 'apt install libffi-dev python3-dev' on armhf

This commit is contained in:
A Holt 2023-09-30 20:32:32 -04:00 committed by GitHub
parent 488e2fbe0d
commit efdf693621
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,7 +251,8 @@ EOF
# new upstream piwheels fix (e.g. cryptography 41.0.3 for now)
# on pre-release 32-bit RasPiOS 12... (#3526)
if [[ $(dpkg --print-architecture) == armhf ]]; then # 32-bit ARM
/usr/local/ansible/bin/python3 -m pip install cryptography==41.0.3 # 2023-09-30: 41.0.4 fails for now, see #3650
$APT_PATH/apt -y install libffi-dev python3-dev # 2023-09-30: cryptography 40.0.1 and 41.0.4 both fail for now, see #3650
/usr/local/ansible/bin/python3 -m pip install cryptography==41.0.3
# else
# 2023-08-10: 'apt install rustc pkg-config libssl-dev' was not enough!
# So we use apt to install cryptography 38.0.4 for Debian 12.1 -- where