[lxc-devel] [lxc/master] templates: add support for new arch on Alpine Linux
clandmeter on Github
lxc-bot at linuxcontainers.org
Sun Aug 7 07:51:41 UTC 2016
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 466 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160807/c6c5382f/attachment.bin>
-------------- next part --------------
From 061a1d7b2a8183ec0e6889f01bb6c13c5416c969 Mon Sep 17 00:00:00 2001
From: Carlo Landmeter <clandmeter at gmail.com>
Date: Sun, 7 Aug 2016 09:21:05 +0000
Subject: [PATCH] templates: add support for new arch on Alpine Linux
---
templates/lxc-alpine.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
index c78795c..988f109 100644
--- a/templates/lxc-alpine.in
+++ b/templates/lxc-alpine.in
@@ -123,6 +123,8 @@ parse_arch() {
case "$1" in
x86 | i[3-6]86) echo 'x86';;
x86_64 | amd64) echo 'x86_64';;
+ aarch64 | arm64) echo 'aarch64';;
+ armv7) echo 'armv7';;
arm*) echo 'armhf';;
*) return 1;;
esac
More information about the lxc-devel
mailing list