erplibre/script/install
Mathieu Benoit 88dc1d5409 [IMP] script qemu: support arm64/aarch64 (+ archi native marquée d'un *)
Ajoute l'architecture arm64 (aarch64) au déploiement, en plus d'amd64
(x86_64) et s390x. Disponibilité réelle vérifiée (juillet 2026) :
- arm64 : Ubuntu, Debian, Fedora (Arch : pas d'image cloud aarch64 -> rejet).
- s390x : Ubuntu seulement (inchangé).

deploy_qemu.py :
- host_arch() : arch native de l'hôte ; toute arch différente est ÉMULÉE
  (TCG, --virt-type qemu) — plus de liste FOREIGN_ARCHES figée.
- virt_install : arm64 -> --arch aarch64 --machine virt --boot uefi (firmware
  AAVMF résolu par libvirt) ; s390x inchangé ; x86 UEFI/OVMF inchangé.
- ensure_emulator(arch) généralisé : installe qemu-system-aarch64 + firmware
  UEFI AAVMF (arm64) ou qemu-system-s390x (s390x), selon le gestionnaire de
  paquets, avec vérif de présence (binaire + firmware pour arm64).
- Validation --arch tôt via ARCH_DISTRO_SUPPORT (message clair si la distro
  ne publie pas l'arch). Les URLs d'images arm64 marchent déjà via les alias
  (fedora/arch aarch64 ; ubuntu/debian arm64).

todo.py : menus d'architecture (VM unique + infra) proposent amd64/arm64/
s390x selon la distro ; l'architecture NATIVE de l'hôte est marquée d'un *
(défaut) ; les autres sont signalées « émulé, lent ». Le catalogue infra est
restreint aux distros publiant l'arch choisie (arm64 -> ubuntu/debian/fedora,
s390x -> ubuntu).

install_debian_dependency.sh : wkhtmltopdf (deb amd64 en dur) ignoré
best-effort sur toute arch non-x86_64 (au lieu d'avorter l'install).

Validé : dry-runs Ubuntu/Debian/Fedora arm64 (bonnes URLs + virt-install
aarch64/virt/uefi/qemu), rejet Arch arm64, non-régression s390x, menus et
filtrage simulés (natif *, arm64 par distro).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-28 07:56:20 +00:00
..
install_arch_linux.sh [FIX] install Arch: mise à jour complète (pacman -Syu) contre glibc mismatch 2026-07-28 07:27:44 +00:00
install_debian_10_prod_docker.sh [UPD] typo certbot 2026-01-10 04:52:39 -05:00
install_debian_dependency.sh [IMP] script qemu: support arm64/aarch64 (+ archi native marquée d'un *) 2026-07-28 07:56:20 +00:00
install_dev.sh [FIX] script install: Fedora support + Ubuntu apt-lock/postgis fixes 2026-07-28 05:07:10 +00:00
install_dev_extra_ubuntu.sh [UPD] replace docker-compose to docker compose 2024-05-03 23:13:59 -04:00
install_erplibre.sh [IMP] mobile home installation and run 2025-11-11 05:19:14 -05:00
install_fedora_dependency.sh [FIX] install Fedora: git-daemon (repo sync via git daemon local échouait) 2026-07-28 07:47:02 +00:00
install_git_repo.sh [IMP] refactoring .venv.erplibre 2025-10-31 01:34:26 -04:00
install_locally.sh [IMP] script install: quiet poetry/repo by default, EL_VERBOSE to opt in 2026-07-28 03:57:04 +00:00
install_locally_dev.sh [IMP] installation: parallelize repo sync and poetry install 2026-05-19 15:17:45 -04:00
install_locally_prod.sh [FIX] script python: missing color log error 2024-05-03 23:13:59 -04:00
install_ntfy.sh [ADD] install: add NTFY self-hosted push notification server 2026-05-19 15:17:45 -04:00
install_OSX_dependency.sh [UPD] OSX installation: remove python 3.7 2026-02-13 04:07:32 -05:00
install_production.sh [UPD] script refactor install_daemon, python script to customize services 2025-11-02 02:14:15 -05:00
install_production_nginx.sh [IMP] support multi version odoo on same workspace 2025-10-31 01:36:26 -04:00
install_ubuntu_docker.sh [UPD] typo certbot 2026-01-10 04:52:39 -05:00
install_venv.sh [IMP] refactoring .venv.erplibre 2025-10-31 01:34:26 -04:00