Skip to content

Commit

Permalink
Adjust Qemu CPU for armhf / v6 (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Jun 13, 2022
1 parent b2771f8 commit 88d5349
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}/")"
Expand Down

0 comments on commit 88d5349

Please sign in to comment.