mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
scripts/ansible: python3-cryptography for 32-bit i386 e.g. i686
This commit is contained in:
parent
61f3d4a9c2
commit
50cded27f2
1 changed files with 8 additions and 3 deletions
|
@ -213,9 +213,14 @@ python3 -m venv /usr/local/ansible
|
|||
#
|
||||
# 2023-03-24 #3547 similar to #3459 re: cryptography, piwheels, rust.
|
||||
# Release problems chart: https://www.piwheels.org/project/cryptography/
|
||||
#if [[ $(dpkg --print-architecture) == armhf ]]; then # 32-bit ARM
|
||||
if ! dpkg --print-architecture | grep -q 64; then # 32-bit in general!
|
||||
/usr/local/ansible/bin/python3 -m pip install cryptography==40.0.1
|
||||
if ! dpkg --print-architecture | grep -q 64; then # 32-bit in general!
|
||||
if [[ $(dpkg --print-architecture) == armhf ]]; then # 32-bit ARM
|
||||
/usr/local/ansible/bin/python3 -m pip install cryptography==40.0.1
|
||||
else
|
||||
# 2023-08-10: Installs cryptography 38.0.4 on Debian 12.1 when
|
||||
# `dpkg --print-architecture` is i386 e.g. `uname -m` is i686
|
||||
$APT_PATH/apt -y install python3-cryptography
|
||||
fi
|
||||
fi
|
||||
|
||||
# 2023-05-22: 2.14.6 was better than 2.15.0 for FreePBX (#3588, ansible/ansible#80863)
|
||||
|
|
Loading…
Add table
Reference in a new issue