mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-26 08:09:09 +00:00
Add warning for i386 build hosts
This commit is contained in:
parent
1fd33d373e
commit
912f3ff1a1
1 changed files with 6 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue