From 912f3ff1a187ede01c92e96869a0331f15e5054b Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Mon, 20 Jun 2016 18:11:25 +0300 Subject: [PATCH] Add warning for i386 build hosts --- general.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/general.sh b/general.sh index 98cdcb67d..fe14767ef 100644 --- a/general.sh +++ b/general.sh @@ -306,6 +306,12 @@ prepare_host() { exit_with_error "Running this tool on board itself is not supported" fi + if [[ $(dpkg --print-architecture) == i386 ]]; then + display_alert "Please read documentation to set up proper compilation environment" "..." "info" + display_alert "http://www.armbian.com/using-armbian-tools/" "..." "info" + display_alert "Running this tool on non-x64 build host in not supported officially" "wrn" + fi + # dialog may be used to display progress if [[ $(dpkg-query -W -f='${db:Status-Abbrev}\n' dialog 2>/dev/null) != *ii* ]]; then display_alert "Installing package" "dialog" "info"