Set Raspberry Pi 2 Supervisor architecture correctly (#3012)

The Raspberry Pi 2 was based on Cortex-A7 in first revisions, then
Cortex-A53. However, both ar armv7 architectures, and that is also how
the Operating System itself is configured. Use the correct architecture
for Supervisor.

The hassos-supervisor script should recreate the container
automatically on first boot after update.

Since Supervisor itself is written in Python this shouldn't affect much.
However, the Supervisor uses it's architecture as default architecture
when building local add-on and uses it as default architecture for
multi-arch container images. This is also where this error got noticed
(see https://github.com/home-assistant/supervisor/issues/4402#issuecomment-1865979421).
This commit is contained in:
Stefan Agner 2023-12-26 17:53:20 +01:00 committed by GitHub
parent 364ca718fb
commit 6c549c10d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,4 +8,4 @@ BOOT_SIZE=32M
BOOT_SPL=false
BOOT_ENV_SIZE=0x4000
SUPERVISOR_MACHINE=raspberrypi2
SUPERVISOR_ARCH=armhf
SUPERVISOR_ARCH=armv7