summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-02-21 22:09:41 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-02-21 22:14:39 +0200
commitea6b1baec7515ec941f35c186ab314ec1c844250 (patch)
tree89e5ce4dcd587875397c0471103e78598b785069
parent659f790b3fceddca0553da3c7e51480c3bd9519e (diff)
downloadgnu-guix-ea6b1baec7515ec941f35c186ab314ec1c844250.tar
gnu-guix-ea6b1baec7515ec941f35c186ab314ec1c844250.tar.gz
etc: guix-install.sh: Add aarch64-linux support.
* etc/guix-install.sh (chk_sys_arch): Add aarch64 case.
-rwxr-xr-xetc/guix-install.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 75cff68d8b..933492a338 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -2,6 +2,7 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2017 sharlatan <sharlatanus@gmail.com>
# Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
+# Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
#
# This file is part of GNU Guix.
#
@@ -153,6 +154,9 @@ chk_sys_arch()
x86_64 | x86-64 | x64 | amd64)
local arch=x86_64
;;
+ aarch64)
+ local arch=aarch64
+ ;;
*)
_err "${ERR}Unsupported CPU type: ${arch}"
exit 1