1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

scripts/ansible: Clarify 'apt install ansible-core' test on "32-bit" OS's

This commit is contained in:
A Holt 2023-09-08 11:55:37 -04:00 committed by GitHub
parent 8ef8752ad7
commit b38b45e27c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -201,9 +201,11 @@ $APT_PATH/apt update
$APT_PATH/apt -y install python3-venv
# 2023-09-08: 'apt install ansible-core' is overweight, but @EMG70 is trying it
# on "32-bit" RasPiOS 12 too (regardless if it boot 32-bit or 64-bit kernel).
# Ugly hack sufficient across the board, on all OS's purporting to be 32-bit?
# (If so, similar to 32-bit Debian 12 on Intel/AMD a month ago...)
# on "32-bit" RasPiOS 12 too (regardless if it boots 32-bit or 64-bit kernel,
# i.e. whether or not booting a 32-bit kernel thanks to 'arm_64bit=0' in
# /boot/config.txt per #3516).
# IN SHORT: Ugly hack sufficient across the board, on all OS's purporting to be
# 32-bit ? (If so, similar to 32-bit Debian 12 on Intel/AMD a month ago...)
if ! dpkg --print-architecture | grep -q 64; then
#if [[ $(dpkg --print-architecture) == i386 ]]; then
# 2023-08-10: Quick+Dirty (BRUTE FORCE) on legacy 32-bit i386 avoids #3547