From dd81a23dfca5b434b7199153ab08c06cf611b3c7 Mon Sep 17 00:00:00 2001 From: LordGrey <48840279+Lord-Grey@users.noreply.github.com> Date: Thu, 13 Feb 2025 18:05:50 +0100 Subject: [PATCH] Update docker-compile.sh --- bin/scripts/docker-compile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/scripts/docker-compile.sh b/bin/scripts/docker-compile.sh index 96f6abed5..464adcc22 100755 --- a/bin/scripts/docker-compile.sh +++ b/bin/scripts/docker-compile.sh @@ -200,7 +200,7 @@ if [ ${CURRENT_ARCHITECTURE} == "aarch64" ]; then USER_ARCHITECTURE="arm/v6" fi fi - if [ $ARCHITECTURE != $USER_ARCHITECTURE ]; then + if [ $CURRENT_ARCHITECTURE != $USER_ARCHITECTURE ]; then log "Identified user space current architecture: $USER_ARCHITECTURE" CURRENT_ARCHITECTURE=$USER_ARCHITECTURE fi @@ -211,7 +211,7 @@ fi log "Identified kernel current architecture: $CURRENT_ARCHITECTURE" if [ $ARCHITECTURE != $CURRENT_ARCHITECTURE ]; then echo "---> Build is not for the same architecturem, enable emulation for ${PLATFORM_ARCHITECTURE}" - ENTRYPOINT_OPTION= + ENTRYPOINT_OPTION="--entrypoint /usr/bin/qemu-static" if [ $CURRENT_ARCHITECTURE != "amd64" ]; then echo "---> Emulation builds can only be executed on linux/amd64, linux/x86_64 platforms, current architecture is ${CURRENT_ARCHITECTURE}"