[lxc-devel] [lxc/master] templates/debian: add aarch64 → arm64 mapping

evgeni on Github lxc-bot at linuxcontainers.org
Sat Jun 24 16:57:21 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 409 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170624/fef1fc29/attachment.bin>
-------------- next part --------------
From 2c660503521d74501d8e93a9c283a8e1a9809667 Mon Sep 17 00:00:00 2001
From: Evgeni Golov <evgeni at debian.org>
Date: Sat, 24 Jun 2017 17:24:49 +0200
Subject: [PATCH] =?UTF-8?q?templates/debian:=20add=20aarch64=20=E2=86=92?=
 =?UTF-8?q?=20arm64=20mapping?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

uname -m reports aarch64, but Debian calls the arch arm64

Signed-off-by: Evgeni Golov <evgeni at debian.org>
---
 templates/lxc-debian.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in
index 3de87f673..7df901ae3 100644
--- a/templates/lxc-debian.in
+++ b/templates/lxc-debian.in
@@ -659,6 +659,8 @@ elif [ "$arch" = "x86_64" ]; then
     arch="amd64"
 elif [ "$arch" = "armv7l" ]; then
     arch="armhf"
+elif [ "$arch" = "aarch64" ]; then
+    arch="arm64"
 elif [ "$arch" = "ppc" ]; then
     arch="powerpc"
 elif [ "$arch" = "ppc64le" ]; then


More information about the lxc-devel mailing list