mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
scripts/ansible: Evaluate 'apt install ansible-core' on 32-bit RasPiOS
This commit is contained in:
parent
cee8a4f3ad
commit
8ef8752ad7
1 changed files with 6 additions and 1 deletions
|
@ -200,7 +200,12 @@ echo -e "\napt update; apt install python3-venv"
|
|||
$APT_PATH/apt update
|
||||
$APT_PATH/apt -y install python3-venv
|
||||
|
||||
if [[ $(dpkg --print-architecture) == i386 ]]; then
|
||||
# 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...)
|
||||
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
|
||||
# rust/wheels/cryptography compiling mess! DEBIAN 12+ OR SIMILAR REQUIRED!
|
||||
$APT_PATH/apt -y install ansible-core # Bookworm ~= ansible-core 2.14.3
|
||||
|
|
Loading…
Add table
Reference in a new issue