mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Clarify 'apt install python3-cryptography' for i386 Ansible
This commit is contained in:
parent
50cded27f2
commit
6c648cbd9b
1 changed files with 3 additions and 2 deletions
|
@ -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
|
if [[ $(dpkg --print-architecture) == armhf ]]; then # 32-bit ARM
|
||||||
/usr/local/ansible/bin/python3 -m pip install cryptography==40.0.1
|
/usr/local/ansible/bin/python3 -m pip install cryptography==40.0.1
|
||||||
else
|
else
|
||||||
# 2023-08-10: Installs cryptography 38.0.4 on Debian 12.1 when
|
# 2023-08-10: 'apt install rustc pkg-config libssl-dev' was not enough!
|
||||||
# `dpkg --print-architecture` is i386 e.g. `uname -m` is i686
|
# 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
|
$APT_PATH/apt -y install python3-cryptography
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue