From fe8c4ef6c1b5151f108803ad0603a4f3cdf6dcd6 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 26 Dec 2023 17:53:20 +0100 Subject: [PATCH] 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). --- buildroot-external/board/raspberrypi/rpi2/meta | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildroot-external/board/raspberrypi/rpi2/meta b/buildroot-external/board/raspberrypi/rpi2/meta index 643dfd75f..28dd227f0 100644 --- a/buildroot-external/board/raspberrypi/rpi2/meta +++ b/buildroot-external/board/raspberrypi/rpi2/meta @@ -8,4 +8,4 @@ BOOT_SIZE=32M BOOT_SPL=false BOOT_ENV_SIZE=0x4000 SUPERVISOR_MACHINE=raspberrypi2 -SUPERVISOR_ARCH=armhf +SUPERVISOR_ARCH=armv7