summary refs log tree commit diff
diff options
context:
space:
mode:
authorCollin J. Doering <collin@rekahsoft.ca>2021-11-19 16:12:03 -0500
committerLudovic Courtès <ludo@gnu.org>2021-11-23 10:24:27 +0100
commit9f00e7429df88538246652056ef9497cd2a817b5 (patch)
tree1d6745c2218923458c917b9c998d0f4442d6c066
parentec724d162892607e8c673ea76a4d6a6180a4f8fd (diff)
downloadguix-9f00e7429df88538246652056ef9497cd2a817b5.tar.gz
docker: Enable arm64 docker image building for 'guix pack'.
* guix/docker.scm (build-docker-image): Recognize "aarch64".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--guix/docker.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/guix/docker.scm b/guix/docker.scm
index a6f73d423c..5e6460f43f 100644
--- a/guix/docker.scm
+++ b/guix/docker.scm
@@ -214,10 +214,11 @@ SRFI-19 time-utc object, as the creation time in metadata."
                                             (else
                                              (error "unsupported system"
                                                     system)))))))
-                 (cond* ("x86_64" "amd64")
-                        ("i686"   "386")
-                        ("arm"    "arm")
-                        ("mips64" "mips64le")))))
+                 (cond* ("x86_64"  "amd64")
+                        ("i686"    "386")
+                        ("arm"     "arm")
+                        ("aarch64" "arm64")
+                        ("mips64"  "mips64le")))))
     ;; Make sure we start with a fresh, empty working directory.
     (mkdir directory)
     (with-directory-excursion directory