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)
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 75cff68d8b7..933492a3385 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -2,6 +2,7 @@
2# GNU Guix --- Functional package management for GNU 2# GNU Guix --- Functional package management for GNU
3# Copyright © 2017 sharlatan <sharlatanus@gmail.com> 3# Copyright © 2017 sharlatan <sharlatanus@gmail.com>
4# Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> 4# Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
5# Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
5# 6#
6# This file is part of GNU Guix. 7# This file is part of GNU Guix.
7# 8#
@@ -153,6 +154,9 @@ chk_sys_arch()
153 x86_64 | x86-64 | x64 | amd64) 154 x86_64 | x86-64 | x64 | amd64)
154 local arch=x86_64 155 local arch=x86_64
155 ;; 156 ;;
157 aarch64)
158 local arch=aarch64
159 ;;
156 *) 160 *)
157 _err "${ERR}Unsupported CPU type: ${arch}" 161 _err "${ERR}Unsupported CPU type: ${arch}"
158 exit 1 162 exit 1