etc: guix-install.sh: Add aarch64-linux support.

* etc/guix-install.sh (chk_sys_arch): Add aarch64 case.
This commit is contained in:
Efraim Flashner 2018-02-21 22:09:41 +02:00
parent 659f790b3f
commit ea6b1baec7
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
# GNU Guix --- Functional package management for GNU # GNU Guix --- Functional package management for GNU
# Copyright © 2017 sharlatan <sharlatanus@gmail.com> # Copyright © 2017 sharlatan <sharlatanus@gmail.com>
# Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> # Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
# Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
# #
# This file is part of GNU Guix. # This file is part of GNU Guix.
# #
@ -153,6 +154,9 @@ chk_sys_arch()
x86_64 | x86-64 | x64 | amd64) x86_64 | x86-64 | x64 | amd64)
local arch=x86_64 local arch=x86_64
;; ;;
aarch64)
local arch=aarch64
;;
*) *)
_err "${ERR}Unsupported CPU type: ${arch}" _err "${ERR}Unsupported CPU type: ${arch}"
exit 1 exit 1