From f3684e842a87145871ef3e8e6509ad862e24be0b Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 1 Jun 2023 13:40:30 -0700 Subject: [PATCH] install: Check CPU and OS architecture. Signed-off-by: Anders Kaseorg --- scripts/lib/install | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/scripts/lib/install b/scripts/lib/install index f9da9c342b..8efb1e4ee8 100755 --- a/scripts/lib/install +++ b/scripts/lib/install @@ -245,6 +245,20 @@ EOF ;; esac +machine="$(uname -m)" +if [ "$machine" != x86_64 ] && [ "$machine" != aarch64 ]; then + system_requirements_failure <