1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

Clarify 'apt install python3-cryptography' for i386 Ansible

This commit is contained in:
root 2023-08-10 03:54:18 -04:00
parent 50cded27f2
commit 6c648cbd9b

View file

@ -217,8 +217,9 @@ 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
# 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
# `dpkg --print-architecture` was i386 and `uname -m` was i686:
$APT_PATH/apt -y install python3-cryptography
fi
fi