From 88d5349633768307017e661e0cf9caf9a7c2eb17 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 13 Jun 2022 12:51:52 +0200 Subject: [PATCH] Adjust Qemu CPU for armhf / v6 (#145) --- builder.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/builder.sh b/builder.sh index cc2a80a..b3748cc 100755 --- a/builder.sh +++ b/builder.sh @@ -239,6 +239,11 @@ function run_build() { *) bashio::exit.nok "Recived unknown architecture ${build_arch}" ;; esac + # Adjust Qemu CPU + if bashio::var.equals "${build_arch}" armhf; then + docker_cli+=("-e" "QEMU_CPU=arm1176") + fi + # Check if image exists on docker hub if bashio::var.true "$DOCKER_HUB_CHECK"; then metadata="$(curl -s "https://hub.docker.com/v2/repositories/${repository}/${image}/tags/${version}/")"