mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Update docker-compile.sh
This commit is contained in:
parent
307fda4dc9
commit
dd81a23dfc
@ -200,7 +200,7 @@ if [ ${CURRENT_ARCHITECTURE} == "aarch64" ]; then
|
|||||||
USER_ARCHITECTURE="arm/v6"
|
USER_ARCHITECTURE="arm/v6"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ $ARCHITECTURE != $USER_ARCHITECTURE ]; then
|
if [ $CURRENT_ARCHITECTURE != $USER_ARCHITECTURE ]; then
|
||||||
log "Identified user space current architecture: $USER_ARCHITECTURE"
|
log "Identified user space current architecture: $USER_ARCHITECTURE"
|
||||||
CURRENT_ARCHITECTURE=$USER_ARCHITECTURE
|
CURRENT_ARCHITECTURE=$USER_ARCHITECTURE
|
||||||
fi
|
fi
|
||||||
@ -211,7 +211,7 @@ fi
|
|||||||
log "Identified kernel current architecture: $CURRENT_ARCHITECTURE"
|
log "Identified kernel current architecture: $CURRENT_ARCHITECTURE"
|
||||||
if [ $ARCHITECTURE != $CURRENT_ARCHITECTURE ]; then
|
if [ $ARCHITECTURE != $CURRENT_ARCHITECTURE ]; then
|
||||||
echo "---> Build is not for the same architecturem, enable emulation for ${PLATFORM_ARCHITECTURE}"
|
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
|
if [ $CURRENT_ARCHITECTURE != "amd64" ]; then
|
||||||
echo "---> Emulation builds can only be executed on linux/amd64, linux/x86_64 platforms, current architecture is ${CURRENT_ARCHITECTURE}"
|
echo "---> Emulation builds can only be executed on linux/amd64, linux/x86_64 platforms, current architecture is ${CURRENT_ARCHITECTURE}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user